X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=makefile.mingw;h=3aa78b00f67560cd0cce2189dfaaddf0b8a9f10b;hb=315098cbabb505102ea94e4d9d2bcd336b5d1d47;hp=b85e788f6bb2b6020c71b422cafd6adc62bf0c0e;hpb=6bcce2962b3a088bd816d473efebe71ac677dc99;p=xonotic%2Fdarkplaces.git 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