From 3b7cc458fc70eae9d27574c0d9c8ce6818b43269 Mon Sep 17 00:00:00 2001 From: olemorud Date: Mon, 24 Apr 2023 23:43:02 +0200 Subject: [PATCH] Makefile: add no-omit-framepointer to debug builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f2531cc..90fdcff 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ COMPILER ?= gcc CC := gcc # -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 := ${CFLAGS.gcc.${BUILD}} -Iinclude -W{all,extra,error} -fstack-protector-all -std=gnu11