Fixed clang -Ofast issue.

This commit is contained in:
SpaceSleuth 2024-07-27 22:01:47 -04:00
parent caa62bc9ea
commit 9e14e52249

View file

@ -346,7 +346,7 @@ endif()
if(WIN32 OR ARM OR PPC64LE OR PPC64 OR PPC) if(WIN32 OR ARM OR PPC64LE OR PPC64 OR PPC)
set(OPT_FLAGS_RELEASE "-O2") set(OPT_FLAGS_RELEASE "-O2")
else() else()
set(OPT_FLAGS_RELEASE "-Ofast") set(OPT_FLAGS_RELEASE "-O3")
endif() endif()
# BUILD_TAG is used to select the build type to check for a new version # BUILD_TAG is used to select the build type to check for a new version