summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-10 09:42:39 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-10 09:42:39 +0200
commit995c8d97e6330fddadec2568ec588b036476cd5c (patch)
tree85a240b094051fee5b3735c2c16fe8b44b778aff /GNUmakefile
parentgit-svn-id: http://mc-server.googlecode.com/svn/trunk@1377 0a769ca7-a7f5-676a-18bf-c427514a06d6 (diff)
downloadcuberite-995c8d97e6330fddadec2568ec588b036476cd5c.tar
cuberite-995c8d97e6330fddadec2568ec588b036476cd5c.tar.gz
cuberite-995c8d97e6330fddadec2568ec588b036476cd5c.tar.bz2
cuberite-995c8d97e6330fddadec2568ec588b036476cd5c.tar.lz
cuberite-995c8d97e6330fddadec2568ec588b036476cd5c.tar.xz
cuberite-995c8d97e6330fddadec2568ec588b036476cd5c.tar.zst
cuberite-995c8d97e6330fddadec2568ec588b036476cd5c.zip
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 8a53989c1..8f9c3e296 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -83,6 +83,16 @@ endif
+################
+# 32-bit build override in 64-bit build environments
+# - so that BearBin doesn't need to modify his makefile after each makefile change :)
+################
+ifeq ($(addm32),1)
+CC_OPTIONS += -m32
+CXX_OPTIONS += -m32
+LNK_OPTIONS += -m32
+endif
+
###################################################