diff options
-rw-r--r-- | lib/Makefile.m32 | 2 | ||||
-rw-r--r-- | src/Makefile.m32 | 2 |
2 files changed, 4 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 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 |