From 8a37c7ce67e049feafc981e6386477497102ac93 Mon Sep 17 00:00:00 2001 From: Nicolas 'Pixel' Noble Date: Sun, 20 Jan 2013 00:07:04 -0800 Subject: Making 32 bits compilation optional. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 51d88f7..6e6a888 100644 --- a/Makefile +++ b/Makefile @@ -98,8 +98,10 @@ ifeq ($(SYSTEM),Linux) LDFLAGS += -fPIC -rdynamic LIBS += pthread dl CONFIG_H = linux-config.h +ifeq ($(WANTS32BITS),true) ARCH_FLAGS = -march=i686 -m32 ASFLAGS = -march=i686 --32 +endif STRIP = strip --strip-unneeded endif -- cgit v1.2.3