added -fno-strict-aliasing (even though it isn't a problem with gcc 2.95.3 anyway)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Jul 2002 09:57:51 +0000 (09:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Jul 2002 09:57:51 +0000 (09:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2141 d7cf8633-e32d-0410-b094-e92efae38249

makefile.mingw

index d712362..937f24d 100644 (file)
@@ -12,7 +12,7 @@ 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 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations $(CPUOPTIMIZATIONS)
+OPTIMIZATIONS= -O6 -fno-strict-aliasing -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations $(CPUOPTIMIZATIONS)
 # -Werror
 # -D WIN32 -D NDEBUG -D _WINDOWS -D _M_IX86