From: Romain Forlot Date: Tue, 18 Jul 2017 16:27:33 +0000 (+0200) Subject: -pg flags belongs to profiling more than debug X-Git-Tag: dab_3.99.3~7 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=5629d4c5af98b276f80fd9e20a03dd59bbd03b92;p=staging%2Fxdg-launcher.git -pg flags belongs to profiling more than debug Change-Id: Iab550cc5653c7ef1094a8960aca9ca64f1aee1a4 Signed-off-by: Romain Forlot --- diff --git a/cmake/cmake.d/04-build_options.cmake b/cmake/cmake.d/04-build_options.cmake index c48e8cd..d1b25f4 100644 --- a/cmake/cmake.d/04-build_options.cmake +++ b/cmake/cmake.d/04-build_options.cmake @@ -77,12 +77,12 @@ add_compile_options(-fPIC) ################################################## add_compile_options($<$,$,$>:-g>) -add_compile_options($<$:-pg>) add_compile_options($<$:-ggdb>) add_compile_options($<$:--coverage>) add_compile_options($<$:-Og>) add_compile_options($<$:-O0>) +add_compile_options($<$:-pg>) add_compile_options($<$,$>:-O2>) add_compile_options($<$,$>:-Wp,-U_FORTIFY_SOURCE>)