From 1460f90720057776020df3df41ea71df8a88ee79 Mon Sep 17 00:00:00 2001 From: krcroft Date: Wed, 18 Mar 2020 16:05:34 -0700 Subject: [PATCH] Allow finer grain tracing for debug builds --- scripts/automator/build/clang-defaults | 2 +- scripts/automator/build/gcc-defaults | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/automator/build/clang-defaults b/scripts/automator/build/clang-defaults index d577cbd5..10a2a921 100644 --- a/scripts/automator/build/clang-defaults +++ b/scripts/automator/build/clang-defaults @@ -5,7 +5,7 @@ cxx="clang++${postfix}" # Flag additions TYPES+=(debug warnmore profile) cflags_release=("${cflags[@]}" -Os) -cflags_debug=("${cflags[@]}" -g -Og -fno-omit-frame-pointer) +cflags_debug=("${cflags[@]}" -g -fno-omit-frame-pointer) cflags_profile=("${cflags_debug[@]}" -fprofile-instr-generate -fcoverage-mapping) cflags_warnmore=("${cflags_debug[@]}" -Wextra -Wshadow -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion diff --git a/scripts/automator/build/gcc-defaults b/scripts/automator/build/gcc-defaults index 6497c6e4..e41d7e55 100644 --- a/scripts/automator/build/gcc-defaults +++ b/scripts/automator/build/gcc-defaults @@ -9,7 +9,7 @@ ranlib="gcc-ranlib${postfix}" TYPES+=(debug warnmore profile) cflags+=(-fstack-protector -fdiagnostics-color=auto) -cflags_debug=("${cflags[@]}" -g -Og -fno-omit-frame-pointer) +cflags_debug=("${cflags[@]}" -g -fno-omit-frame-pointer) cflags_release=("${cflags[@]}" -Ofast -ffunction-sections -fdata-sections) cflags_profile=("${cflags_debug[@]}" -pg) cflags_warnmore=("${cflags_debug[@]}" -pedantic -Wcast-align -Wdouble-promotion