diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-17 15:16:53 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-17 15:16:53 +0400 |
commit | adfa7c8afac3901d3310639f700e4fe9954b824b (patch) | |
tree | 660b2a4925c1af11389d1279c3d0186a44a316d1 /CMakeLists.txt | |
parent | 14f9f167b2686a92883b754d111adbb5efec2515 (diff) |
Don't use auto vectorization for MinGW-w64. It may be a source for
trouble. Also fixed a few harmless warnings.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ea22951f674..e505a686717 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1246,10 +1246,6 @@ elseif(WIN32) set(PLATFORM_CFLAGS "-pipe -funsigned-char -fno-strict-aliasing") if(WITH_MINGW64) - #We need to take care though not to have these on debug builds because they may play funky with gdb - if(CMAKE_BUILD_TYPE MATCHES "Release") - set(PLATFORM_CFLAGS "${PLATFORM_CFLAGS} -mmmx -ftree-vectorize") - endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive") set(PLATFORM_LINKLIBS "${PLATFORM_LINKLIBS} -lpthread") |