From 6b2db61da3719cd4cdbd2b8bb60a3922c2705f38 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 25 Aug 2006 08:53:39 +0000 Subject: [PATCH] changed release optimizations from -O2 -ffast-math -funroll-loops to simply -O2, this produced a 0.3% fps loss in my most extreme testing on x86_64, which does not seem significant, and gcc 4.1.0 was breaking the Nexuiz menu with the -funsafe-math-optimizations option (part of -ffast-math) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6563 d7cf8633-e32d-0410-b094-e92efae38249 --- makefile.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile.inc b/makefile.inc index eca83c29..ccd51aaa 100644 --- a/makefile.inc +++ b/makefile.inc @@ -145,7 +145,10 @@ CFLAGS_RELEASE= CFLAGS_SDL=`$(SDL_CONFIG) --cflags` OPTIM_DEBUG=$(CPUOPTIMIZATIONS) -OPTIM_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops $(CPUOPTIMIZATIONS) +#OPTIM_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops $(CPUOPTIMIZATIONS) +#OPTIM_RELEASE=-O2 -fno-strict-aliasing -fno-math-errno -fno-trapping-math -ffinite-math-only -fno-signaling-nans -fcx-limited-range -funroll-loops $(CPUOPTIMIZATIONS) +#OPTIM_RELEASE=-O2 -funroll-loops $(CPUOPTIMIZATIONS) +OPTIM_RELEASE=-O2 $(CPUOPTIMIZATIONS) DO_CC=$(CC) $(CFLAGS) -c $< -o $@ -- 2.39.2