mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Remove additional android compilation flags.
This commit is contained in:
parent
b8845fa4c8
commit
fd3755e35c
@ -43,9 +43,6 @@ if(NOT MSVC)
|
||||
add_compile_options(-fomit-frame-pointer) # GCC/Clang flag
|
||||
add_compile_options(-ftree-vectorize) # GCC/Clang flag
|
||||
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.
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
|
@ -39,9 +39,6 @@ if(NOT MSVC)
|
||||
add_compile_options(-fomit-frame-pointer) # GCC/Clang flag
|
||||
add_compile_options(-ftree-vectorize) # GCC/Clang flag
|
||||
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.
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
|
Loading…
Reference in New Issue
Block a user