summaryrefslogtreecommitdiff
path: root/lib/Makefile.m32
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2014-11-18 14:25:41 +0100
committerGuenter Knauf <lists@gknw.net>2014-11-18 14:25:41 +0100
commit4bc47bec574ba843150bf897299eaf892cdbeff1 (patch)
tree9685a30bd9930133a640402a5bbe3f0514fc8004 /lib/Makefile.m32
parente126ec4fc44de00e53e0b7a05ef04dcf7b246d6d (diff)
downloadcurl-4bc47bec574ba843150bf897299eaf892cdbeff1.tar.gz
build: in Makefile.m32 add -m32 flag for 32bit.
Diffstat (limited to 'lib/Makefile.m32')
-rw-r--r--lib/Makefile.m322
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index cb301c383..d0ac77b10 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -64,6 +64,8 @@ CFLAGS = -g -O2 -Wall
CFLAGS += -fno-strict-aliasing
ifeq ($(ARCH),w64)
CFLAGS += -D_AMD64_
+else
+CFLAGS += -m32
endif
# comment LDFLAGS below to keep debug info
LDFLAGS = -s