Removed explicit -O2 and -O3 build flags.
This commit is contained in:
parent
2e1e903cbe
commit
c2d9d58eec
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue