summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+
###################################################