Makefile: add no-omit-framepointer to debug builds

This commit is contained in:
olemorud
2023-04-24 23:43:02 +02:00
parent 9a88d1cbdc
commit 3b7cc458fc

View File

@@ -10,7 +10,7 @@ COMPILER ?= gcc
CC := gcc CC := gcc
# -fsanitize={address,undefined} # -fsanitize={address,undefined}
CFLAGS.gcc.debug := -Og -ggdb -fanalyzer -DBACKTRACE -rdynamic -fsanitize=address CFLAGS.gcc.debug := -Og -ggdb -fanalyzer -DBACKTRACE -rdynamic -fsanitize=address -fno-omit-frame-pointer
CFLAGS.gcc.release := -O3 -march=native -DNDEBUG CFLAGS.gcc.release := -O3 -march=native -DNDEBUG
CFLAGS.gcc := ${CFLAGS.gcc.${BUILD}} -Iinclude -W{all,extra,error} -fstack-protector-all -std=gnu11 CFLAGS.gcc := ${CFLAGS.gcc.${BUILD}} -Iinclude -W{all,extra,error} -fstack-protector-all -std=gnu11