From 9ea2e559743dd1d5eb53715ea3b56b873a2eb0ab Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Sat, 9 Nov 2024 02:26:23 +0100 Subject: [PATCH] CMake: MinGW - drop some hardcoded flags --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5d23d7ee8b..4aae844d008 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)