diff --git a/CMakeLists.txt b/CMakeLists.txt index e284eddd0..0ee2daadb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}")