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:
authorDavide Beatrici <git@davidebeatrici.dev>2022-11-08 03:52:06 +0300
committerGitHub <noreply@github.com>2022-11-08 03:52:06 +0300
commit5d241ed3a73af61f98e3c95d6db803de60556881 (patch)
treefe9bf615d8eecde0700a020070c6c0b1bcddb24d
parent27a03cd5715a43756fd6b992e6ff989a4b8a7ddd (diff)
parent31ea1d2455e1abdab62bdc69f1a261f5f8de35e9 (diff)
Merge PR #5954: BUILD(cmake): remove -ffast-math and -ftree-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)