From e253ac7edc7f3968021d3e7fcae765b4b2090643 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Sat, 18 Jul 2015 22:51:13 +0200 Subject: Use -O0 (no optimization) in GCC debug compile flags --- src/build-data/cc/gcc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build-data/cc/gcc.txt') 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" -- cgit v1.2.3