mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-18 06:51:16 +01:00
android: try to enable poly-opt and lto optimizations for release builds
This commit is contained in:
parent
0a85734ae7
commit
45787a87b3
@ -17,11 +17,12 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
set(BUILD_TYPE "debug")
|
||||
else()
|
||||
set(BUILD_TYPE "release")
|
||||
list(APPEND WAF_EXTRA_ARGS --enable-poly-opt --enable-lto)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||
set(64BIT ON CACHE BOOL "" FORCE)
|
||||
set(WAF_EXTRA_ARGS "-8") # only required for x86 when testing this cmakelist under linux
|
||||
list(APPEND WAF_EXTRA_ARGS -8) # only required for x86 when testing this cmakelist under linux
|
||||
endif()
|
||||
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
|
Loading…
Reference in New Issue
Block a user