mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Only omit frame pointers on 32bit release builds
Frame pointers are very useful for debugging and testing, and only really make a difference to performance on IA32.
This commit is contained in:
parent
08d44fbed5
commit
c7212a7478
@ -207,7 +207,7 @@ else()
|
||||
set(EXTRA_CXX_FLAGS "-O0 ${EXTRA_CXX_FLAGS}")
|
||||
endif(OPTIMISE)
|
||||
|
||||
if(NOT RELEASE_BUILD)
|
||||
if (NOT(ARCH_IA32 AND RELEASE_BUILD))
|
||||
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -fno-omit-frame-pointer")
|
||||
set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -fno-omit-frame-pointer")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user