From 4bc47bec574ba843150bf897299eaf892cdbeff1 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 18 Nov 2014 14:25:41 +0100 Subject: build: in Makefile.m32 add -m32 flag for 32bit. --- lib/Makefile.m32 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3