mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 09:57:21 +01:00
Revert "cmake: set -O3 option to android linker."
This reverts commit b8e143f5ac
.
This commit is contained in:
parent
130a6aad6a
commit
b8845fa4c8
@ -45,7 +45,6 @@ if(NOT MSVC)
|
|||||||
add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag
|
add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||||
add_compile_options(-O3 -DNDEBUG) # gradle compiles release builds with RelWithDebInfo(-O2 -g) and strips debug symbols.
|
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()
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
@ -41,7 +41,6 @@ if(NOT MSVC)
|
|||||||
add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag
|
add_compile_options(-funsafe-math-optimizations) # GCC/Clang flag
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||||
add_compile_options(-O3 -DNDEBUG) # gradle compiles release builds with RelWithDebInfo(-O2 -g) and strips debug symbols.
|
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()
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user