mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 00:29:57 +00:00
iOS: Oops, need -O2 on RelWithDebInfo for profiling.
This commit is contained in:
parent
0eda1a8fe5
commit
63db2081ee
@ -1019,11 +1019,11 @@ if(APPLE)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-g -D_DEBUG")
|
||||
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -D_NDEBUG")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -D_NDEBUG")
|
||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -D_NDEBUG")
|
||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -D_NDEBUG")
|
||||
set(CMAKE_C_FLAGS_DEBUG "-g -D_DEBUG")
|
||||
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -D_NDEBUG")
|
||||
set(CMAKE_C_FLAGS_RELEASE "-O3 -D_NDEBUG")
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -g -D_NDEBUG")
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g -D_NDEBUG")
|
||||
|
||||
# These can be fast even for debug.
|
||||
set_target_properties(cityhash PROPERTIES COMPILE_FLAGS "-O3")
|
||||
|
Loading…
Reference in New Issue
Block a user