From 69409e01d114e379ef09df6aaab9fac15da27d94 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 14 Jun 2005 17:52:20 +0000 Subject: [PATCH] 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 --- makefile.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ##### -- 2.39.2