From 995c8d97e6330fddadec2568ec588b036476cd5c Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 10 Apr 2013 07:42:39 +0000 Subject: [PATCH] Added a makefile switch for 32bit-on-64bit compilation, addm32 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1378 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- GNUmakefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 + ###################################################