aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJon Tollefson <kniht@linux.vnet.ibm.com>2008-10-08 11:05:48 -0500
committerEric B Munson <ebmunson@us.ibm.com>2008-10-09 15:19:16 +0100
commita69618ad5dc72bc8f75767b0ccd487b3eb7fc4e8 (patch)
tree0222004e5871daca263e5643a21371f878da7395 /Makefile
parentd80fad380e50e8aac3d990cfef46bccb03fcaea2 (diff)
downloadlibhugetlbfs-a69618ad5dc72bc8f75767b0ccd487b3eb7fc4e8.tar.gz
must compile explicitly for 32 bit
In order to compile the 32 bit versions of the test programs correctly you must explicitly specify 32 bit to gcc. This is a fix for some distros that compile 64 bit by default. The switch should be backwards compatible. Signed-off-by: Jon Tollefson <kniht@linux.vnet.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 a88f4f8..2917166 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ ELF64 = elf64ppc
LIB64 = lib64
LIB32 = lib
ifneq ($(BUILDTYPE),NATIVEONLY)
-CC32 = gcc
+CC32 = gcc -m32
ELF32 = elf32ppclinux
endif
else