From 2e1e903cbee172aa12fbbc8a382404ee217650b3 Mon Sep 17 00:00:00 2001 From: SpaceSleuth Date: Sun, 28 Jul 2024 19:47:38 -0400 Subject: [PATCH] -O3 -ffast-math instead of -Ofast. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 850b442e2..e284eddd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -346,7 +346,7 @@ endif() if(WIN32 OR ARM OR PPC64LE OR PPC64 OR PPC) set(OPT_FLAGS_RELEASE "-O2") else() - set(OPT_FLAGS_RELEASE "-O3") + set(OPT_FLAGS_RELEASE "-O3 -ffast-math") endif() # BUILD_TAG is used to select the build type to check for a new version