summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 00:07:04 -0800
committerNicolas 'Pixel' Noble <pixel@nobis-crew.org>2013-01-20 00:07:04 -0800
commit8a37c7ce67e049feafc981e6386477497102ac93 (patch)
treebab8d381aeaf73408121d28df3227daf34a2dc12 /Makefile
parentf999a15d51b12313f66d8b997870878b5eea10bc (diff)
Making 32 bits compilation optional.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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