diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2012-04-24 21:20:51 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2012-04-24 21:20:51 +0400 |
commit | 75addcf2330ac4347b347fe537d38a1e71bebf43 (patch) | |
tree | 20828e4c90a00ef95464e363a33328c307a819c7 /build_files/scons/config/win64-mingw-config.py | |
parent | 166b3523f02c869b5855b3df69a97d7265e39974 (diff) |
Lower optimization settings for MinGW-w64. Full optimization causes artifacts with empties and gods know what else. Turned on -ftree-vectorize to match MSVC behaviour for 64bit.
Diffstat (limited to 'build_files/scons/config/win64-mingw-config.py')
-rw-r--r-- | build_files/scons/config/win64-mingw-config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build_files/scons/config/win64-mingw-config.py b/build_files/scons/config/win64-mingw-config.py index 0379ea48088..055b0c7b9fd 100644 --- a/build_files/scons/config/win64-mingw-config.py +++ b/build_files/scons/config/win64-mingw-config.py @@ -179,9 +179,9 @@ CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ] CXXFLAGS = [ '-fpermissive' ] CPPFLAGS = ['-DWIN32', '-DMS_WIN64', '-DFREE_WINDOWS', '-DFREE_WINDOWS64', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-DBOOST_ALL_NO_LIB', '-DBOOST_THREAD_USE_LIB', '-DGLEW_STATIC', '-D_SSIZE_T_'] -REL_CFLAGS = ['-O3', '-mmmx', '-msse', '-msse2'] -REL_CXXFLAGS = ['-O3', '-mmmx', '-msse', '-msse2'] -REL_CCFLAGS = ['-DNDEBUG', '-O3', '-mmmx', '-msse', '-msse2'] +REL_CFLAGS = [] +REL_CXXFLAGS = [] +REL_CCFLAGS = ['-DNDEBUG', '-O2', '-ftree-vectorize', '-mmmx', '-msse', '-msse2'] C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes'] |