Revert "cmake: set -O3 option to android linker."

This reverts commit b8e143f5ac.
This commit is contained in:
Andrey Akhmichin 2024-02-10 04:42:33 +05:00
parent 130a6aad6a
commit b8845fa4c8
2 changed files with 0 additions and 2 deletions

View File

@ -45,7 +45,6 @@ if(NOT MSVC)
add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
add_compile_options(-O3 -DNDEBUG) # gradle compiles release builds with RelWithDebInfo(-O2 -g) and strips debug symbols.
target_link_options(${CLDLL_LIBRARY} PUBLIC "LINKER:-O3")
endif()
endif()
else()

View File

@ -41,7 +41,6 @@ if(NOT MSVC)
add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
add_compile_options(-O3 -DNDEBUG) # gradle compiles release builds with RelWithDebInfo(-O2 -g) and strips debug symbols.
target_link_options(${SVDLL_LIBRARY} PUBLIC "LINKER:-O3")
endif()
endif()
else()