diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-09-27 10:06:02 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-09-27 10:06:02 +0200 |
commit | 49b44c12b1c240116554d45499c265cffe958a03 (patch) | |
tree | bcaaca5f7b8a7227dde17cf0d0d8971d2466f21e /build_settings.cmake | |
parent | 6796195b37f351f843eea4992d2d45b7ba4eb771 (diff) |
The cost of preserving the framepointer is small enough to allow it being default.
Performance information benefits is significant and will over time counter the cost.
Observed cost has been below the noise level in the 1% range.
Diffstat (limited to 'build_settings.cmake')
-rw-r--r-- | build_settings.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_settings.cmake b/build_settings.cmake index 578484fc0a7..5894eb9082b 100644 --- a/build_settings.cmake +++ b/build_settings.cmake @@ -30,7 +30,7 @@ else() endif() # C and C++ compiler flags -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O3 ${C_WARN_OPTS} -fPIC ${VESPA_CXX_ABI_FLAGS} -DBOOST_DISABLE_ASSERTS -march=westmere -mtune=intel ${EXTRA_C_FLAGS}") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O3 -fno-omit-frame-pointer ${C_WARN_OPTS} -fPIC ${VESPA_CXX_ABI_FLAGS} -DBOOST_DISABLE_ASSERTS -march=westmere -mtune=intel ${EXTRA_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_C_FLAGS} ${CXX_SPECIFIC_WARN_OPTS} -std=c++1z -fvisibility-inlines-hidden -fdiagnostics-color=auto ${EXTRA_CXX_FLAGS}") # Linker flags |