git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5434
d7cf8633-e32d-0410-b094-
e92efae38249
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 #####