From: havoc Date: Thu, 17 Oct 2002 02:44:08 +0000 (+0000) Subject: trying less optimizations in hopes that it will fix the crashs X-Git-Tag: RELEASE_0_2_0_RC1~127 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=b4ee4528ec636c069b67aa483e77dc55dbcfa7b1;hp=beb29b07d31b05805dbb89889d3a64e93f5ed40d trying less optimizations in hopes that it will fix the crashs git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2536 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.mingw b/makefile.mingw index b85e788f..3aa78b00 100644 --- a/makefile.mingw +++ b/makefile.mingw @@ -12,10 +12,11 @@ CPUOPTIMIZATIONS= #the -Werror can be removed to compile even if there are warnings, #this is used to ensure that all released versions are free of warnings. -OPTIMIZATIONS= -O6 -fno-strict-aliasing -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations $(CPUOPTIMIZATIONS) -Werror +OPTIMIZATIONS= -O2 -fno-strict-aliasing $(CPUOPTIMIZATIONS) +#OPTIMIZATIONS= -O6 -fno-strict-aliasing -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations $(CPUOPTIMIZATIONS) # -D WIN32 -D NDEBUG -D _WINDOWS -D _M_IX86 -CFLAGS= -MD -Wall $(OPTIMIZATIONS) +CFLAGS= -MD -Wall -Werror $(OPTIMIZATIONS) LDFLAGS= -mwindows -luser32 -lgdi32 -lwinmm -ldxguid -ldinput -lopengl32 -lcomctl32 -lwsock32