aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/gcc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r--src/build-data/cc/gcc.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 69d370b26..ef29f7fa4 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -12,10 +12,14 @@ lang_flags "-std=c++11 -D_REENTRANT"
maintainer_warning_flags "-Wold-style-cast -Werror -Wno-error=old-style-cast -Wno-error=zero-as-null-pointer-constant -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=strict-overflow"
warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant"
-lib_opt_flags "-O2"
-app_opt_flags "-O2"
+compile_flags_release ""
+compile_flags_debug "-g"
+lib_opt_flags_release "-O2"
+lib_opt_flags_debug "-O2"
+app_opt_flags_release "-O2"
+app_opt_flags_debug "-O2"
+
shared_flags "-fPIC"
-debug_flags "-g"
coverage_flags "--coverage"
#sanitizer_flags "-D_GLIBCXX_DEBUG -fsanitize=address -fsanitize=undefined"
sanitizer_flags "-D_GLIBCXX_DEBUG -fsanitize=address"