aboutsummaryrefslogtreecommitdiffstats
path: root/samples.d/config.cmake.sample
diff options
context:
space:
mode:
Diffstat (limited to 'samples.d/config.cmake.sample')
-rw-r--r--samples.d/config.cmake.sample13
1 files changed, 10 insertions, 3 deletions
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample
index b7e60c6..999208a 100644
--- a/samples.d/config.cmake.sample
+++ b/samples.d/config.cmake.sample
@@ -109,17 +109,24 @@ set (PKG_REQUIRED_LIST
#set(DEBUG_COMPILE_OPTIONS
# -g
# -ggdb
-# -Og
-# -D_FORTIFY_SOURCE=2
# CACHE STRING "Compilation flags for DEBUG build type.")
#set(CCOV_COMPILE_OPTIONS
# -g
# --coverage
# CACHE STRING "Compilation flags for CCOV build type.")
#set(RELEASE_COMPILE_OPTIONS
-# -g
# -O2
+# -pipe
# -D_FORTIFY_SOURCE=2
+# -fstack-protector-strong
+# -Wformat -Wformat-security
+# -Werror=format-security
+# -feliminate-unused-debug-types
+# -Wl,-O1
+# -Wl,--hash-style=gnu
+# -Wl,--as-needed
+# -fstack-protector-strong
+# -Wl,-z,relro,-z,now
# CACHE STRING "Compilation flags for RELEASE build type.")
# Location for config.xml.in template file.