aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parente126ec4fc44de00e53e0b7a05ef04dcf7b246d6d (diff)
build: in Makefile.m32 add -m32 flag for 32bit.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.m322
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 614c2b637..ac1c0b835 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -76,6 +76,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