From: havoc Date: Tue, 14 Jun 2005 17:52:20 +0000 (+0000) Subject: attempting to make darkplaces able to compile as 32bit on 64bit host systems (by... X-Git-Tag: xonotic-v0.1.0preview~4748 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=69409e01d114e379ef09df6aaab9fac15da27d94;p=xonotic%2Fdarkplaces.git attempting to make darkplaces able to compile as 32bit on 64bit host systems (by feeding -m32 as CPUOPTIMIZATIONS on commandline) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5434 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.inc b/makefile.inc index f7ab1d95..31afc8a8 100644 --- a/makefile.inc +++ b/makefile.inc @@ -140,16 +140,16 @@ CFLAGS_DEBUG=-ggdb CFLAGS_PROFILE=-g -pg -ggdb CFLAGS_RELEASE= -OPTIM_DEBUG= +OPTIM_DEBUG=$(CPUOPTIMIZATIONS) OPTIM_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops $(CPUOPTIMIZATIONS) DO_CC=$(CC) $(CFLAGS) -c $< -o $@ # Link -LDFLAGS_DEBUG=-g -ggdb -LDFLAGS_PROFILE=-g -pg -LDFLAGS_RELEASE= +LDFLAGS_DEBUG=-g -ggdb $(OPTIM_DEBUG) +LDFLAGS_PROFILE=-g -pg $(OPTIM_RELEASE) +LDFLAGS_RELEASE=$(OPTIM_RELEASE) ##### UNIX specific variables #####