]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
attempting to make darkplaces able to compile as 32bit on 64bit host systems (by...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 14 Jun 2005 17:52:20 +0000 (17:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 14 Jun 2005 17:52:20 +0000 (17:52 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5434 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index f7ab1d9564f6e7ba7436d6fce51080fd350adf22..31afc8a82fe5dfa1c8ea88f04b414d75c53a0e0b 100644 (file)
@@ -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 #####