commit fb4604a60fc8d53fe6ed0378468032a99779c87b
parent 4e7a1dd475d2a548eb4e3917bb081e0e11724191
Author: Markus Hunner <26381538+markhun@users.noreply.github.com>
Date: Wed, 20 Dec 2023 10:24:16 +0100
Makefile: Use -ggdb -O0 -fno-omit-frame-pointer for debug builds
perf annotate gives better output with -ggdb -fno-omit-frame-pointer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -2,7 +2,7 @@
CC = cc
RM = rm -f
CFLAGS =-Wall -O3
-#CFLAGS =-Wall -O -g
+# CFLAGS =-Wall -ggdb -O0 -fno-omit-frame-pointer
LD = cc
LDFLAGS =-g