aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric B Munson <ebmunson@us.ibm.com>2008-10-15 09:44:32 +0100
committerEric B Munson <ebmunson@us.ibm.com>2008-10-15 09:44:32 +0100
commitfc19385e6b024ef8f48a6c9402b00b98aace11c5 (patch)
tree956a215e330f270d4b74123121cf94367480285f /Makefile
parentd107e96c06c2afc800d731578adab8cb6c1b32c6 (diff)
downloadlibhugetlbfs-fc19385e6b024ef8f48a6c9402b00b98aace11c5.tar.gz
On PowerPC, always specify '-m32' for 32bit compiles. We don't know2.1-pre2
whether the compiler defaults to creating 32bit or 64bit binaries so it's best to play it safe and be explicit. Signed-off-by: Adam Litke <agl@us.ibm.com> Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5de7761..10a336c 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ ELF32 = elf32ppclinux
endif
else
ifeq ($(ARCH),ppc)
-CC32 = gcc
+CC32 = gcc -m32
ELF32 = elf32ppclinux
LIB32 = lib
else