Makefile: turn off -fomit-frame-pointer with sanitizers
[gitweb.git] / Makefile
index 9fb2ff3e82b6bf11313328c309bead8e9792f40d..d03880e6901d5a56470358ab2e58f39e80170700 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -993,6 +993,7 @@ endif
 
 ifdef SANITIZE
 BASIC_CFLAGS += -fsanitize=$(SANITIZE) -fno-sanitize-recover=$(SANITIZE)
+BASIC_CFLAGS += -fno-omit-frame-pointer
 endif
 
 ifndef sysconfdir