X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=samples.d%2Fconfig.cmake.sample;fp=samples.d%2Fconfig.cmake.sample;h=b065b4abdd3bc96a2efe1526a3894368e2940f38;hb=9b17efeda53eb57b2f264d4b7078c92ba24c4cf0;hp=3ec920126732dc711fbb37cc2a6a455571c85ca5;hpb=66f7bc88bfc7a17e1ef277c4f7293f95f6ec8b6c;p=apps%2Fapp-templates.git diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample index 3ec9201..b065b4a 100644 --- a/samples.d/config.cmake.sample +++ b/samples.d/config.cmake.sample @@ -110,7 +110,7 @@ set (PKG_REQUIRED_LIST #set(DEBUG_COMPILE_OPTIONS # -g # -ggdb -# -Wp,-U_FORTIFY_SOURCE +# -D_FORTIFY_SOURCE=2 # CACHE STRING "Compilation flags for DEBUG build type.") #set(CCOV_COMPILE_OPTIONS # -g @@ -120,6 +120,7 @@ set (PKG_REQUIRED_LIST #set(RELEASE_COMPILE_OPTIONS # -g # -O2 +# -D_FORTIFY_SOURCE=2 # CACHE STRING "Compilation flags for RELEASE build type.") # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable]