Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreen Sky <green@g-s.xyz>2022-11-08 01:23:37 +0300
committerGreen Sky <green@g-s.xyz>2022-11-08 01:26:29 +0300
commit31ea1d2455e1abdab62bdc69f1a261f5f8de35e9 (patch)
treefe9bf615d8eecde0700a020070c6c0b1bcddb24d
parent27a03cd5715a43756fd6b992e6ff989a4b8a7ddd (diff)
BUILD(cmake): remove -ffast-math and -ftree-vectorize
because they block compilation (fast-math) or are part of -O3 (tree-vectorize)
-rw-r--r--cmake/compiler.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake
index 76b507b61..b711446b9 100644
--- a/cmake/compiler.cmake
+++ b/cmake/compiler.cmake
@@ -76,8 +76,6 @@ elseif(UNIX OR MINGW)
add_compile_options(
"-O3"
"-march=native"
- "-ffast-math"
- "-ftree-vectorize"
)
endif()
@@ -128,7 +126,7 @@ elseif(UNIX OR MINGW)
add_compile_options("-g")
endif()
endif()
-endif()
+endif()
function(target_disable_warnings TARGET)
if(MSVC)