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