From: havoc Date: Thu, 4 Sep 2008 05:46:40 +0000 (+0000) Subject: use ?= operator for CPUOPTIMIZATIONS X-Git-Tag: xonotic-v0.1.0preview~2098 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=b9ba98a3576c56354a320d66435ca18b7720952b use ?= operator for CPUOPTIMIZATIONS added an experimental CPUOPTIMIZATIONS comment as a suggestion git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8486 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.inc b/makefile.inc index 6f8b8df6..0d5d790b 100644 --- a/makefile.inc +++ b/makefile.inc @@ -6,19 +6,21 @@ CHECKLEVEL2 = @if [ "$(LEVEL)" != 2 ]; then $(MAKE) help; false; fi CC=gcc # athlon optimizations -#CPUOPTIMIZATIONS=-march=athlon +#CPUOPTIMIZATIONS?=-march=athlon # athlon xp optimizations -#CPUOPTIMIZATIONS=-march=athlon-xp +#CPUOPTIMIZATIONS?=-march=athlon-xp # athlon 64 optimizations -#CPUOPTIMIZATIONS=-march=athlon64 -m32 +#CPUOPTIMIZATIONS?=-march=athlon64 -m32 # Pentium 3 optimizations -#CPUOPTIMIZATIONS=-march=pentium3 +#CPUOPTIMIZATIONS?=-march=pentium3 # Pentium 4 optimizations -#CPUOPTIMIZATIONS=-march=pentium4 +#CPUOPTIMIZATIONS?=-march=pentium4 # 686 (Pentium Pro/II) optimizations -#CPUOPTIMIZATIONS=-march=i686 +#CPUOPTIMIZATIONS?=-march=i686 # No specific CPU (386 compatible) -CPUOPTIMIZATIONS= +CPUOPTIMIZATIONS?= +# Experimental +#CPUOPTIMIZATIONS?=-fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fassociative-math -freciprocal-math -fno-signed-zeros -fno-trapping-math SDL_CONFIG?=sdl-config SDLCONFIG_UNIXCFLAGS?=`$(SDL_CONFIG) --cflags`