Removed explicit -O2 and -O3 build flags.

This commit is contained in:
SpaceSleuth 2024-07-29 07:36:23 -04:00
parent 2e1e903cbe
commit c2d9d58eec
1 changed files with 0 additions and 6 deletions

View File

@ -343,12 +343,6 @@ set(LOONGARCH 1)
set(LOONGARCH64 1)
endif()
if(WIN32 OR ARM OR PPC64LE OR PPC64 OR PPC)
set(OPT_FLAGS_RELEASE "-O2")
else()
set(OPT_FLAGS_RELEASE "-O3 -ffast-math")
endif()
# BUILD_TAG is used to select the build type to check for a new version
if(BUILD_TAG)
message(STATUS "Building build tag ${BUILD_TAG}")