Skip to content

Commit

Permalink
CMake: MinGW - drop some hardcoded flags
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Nov 9, 2024
1 parent e90817b commit 9ea2e55
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ if (MINGW)
# the atomic primitives
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=i686")
endif ()
# disable this optimisation because it breaks release builds (reason unknown)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-tree-slp-vectorize")
# Ignore some really annoying warnings which also happen in dependencies
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=cast-qual -Wno-unused-local-typedefs")
endif ()

include(GenerateExportHeader)
Expand Down

0 comments on commit 9ea2e55

Please sign in to comment.