From 49b44c12b1c240116554d45499c265cffe958a03 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 27 Sep 2017 10:06:02 +0200 Subject: 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. --- build_settings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_settings.cmake') 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 -- cgit v1.2.3