aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/cmake.d
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-08 13:45:06 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-08 13:45:06 +0200
commit265fa8466ca1bd089abf36e44fa04f1bc9c1533a (patch)
tree4410cc26e6ba2678cdebad4d929c71e699ec558f /cmake/cmake.d
parente8dd7eeb10111024c4dcfc61fd4f371c1dd92fe7 (diff)
No optimization in DEBUG build configuration
Optimization complicate debugging. Change-Id: Ib000c36fd599b544ef96be9de35527baecf022e3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'cmake/cmake.d')
-rw-r--r--cmake/cmake.d/04-build_options.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/cmake.d/04-build_options.cmake b/cmake/cmake.d/04-build_options.cmake
index 18a1b17..b0257f9 100644
--- a/cmake/cmake.d/04-build_options.cmake
+++ b/cmake/cmake.d/04-build_options.cmake
@@ -78,7 +78,6 @@ add_compile_options($<$<CONFIG:PROFILING>:-pg>)
add_compile_options($<$<CONFIG:PROFILING>:-Wp,-U_FORTIFY_SOURCE>)
add_compile_options($<$<CONFIG:DEBUG>:-g>)
-add_compile_options($<$<CONFIG:DEBUG>:-O0>)
add_compile_options($<$<CONFIG:DEBUG>:-ggdb>)
add_compile_options($<$<CONFIG:DEBUG>:-Wp,-U_FORTIFY_SOURCE>)