aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-18 22:51:13 +0200
committerSimon Warta <[email protected]>2015-07-21 20:06:18 +0200
commite253ac7edc7f3968021d3e7fcae765b4b2090643 (patch)
treed6c2f09d4ed8d41ffd3750af975adc2d8a210e91 /src
parenta631f01cc981773d0756334d95ddb3e8485b2d00 (diff)
Use -O0 (no optimization) in GCC debug compile flags
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/gcc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index ef29f7fa4..58ba89870 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -15,9 +15,9 @@ warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align
compile_flags_release ""
compile_flags_debug "-g"
lib_opt_flags_release "-O2"
-lib_opt_flags_debug "-O2"
+lib_opt_flags_debug "-O0"
app_opt_flags_release "-O2"
-app_opt_flags_debug "-O2"
+app_opt_flags_debug "-O0"
shared_flags "-fPIC"
coverage_flags "--coverage"