Makefile: turn off -fomit-frame-pointer with sanitizers

The ASan manual recommends disabling this optimization, as it can make the backtraces produced by the tool harder to follow (and since this is a test-debug build, we don't care about squeezing out every last drop of performance). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Jul 10, 2017 at 09:24 UTC ddbc8a6d3e15acba2e145fb9c8cd93c1531cc576
1 file changed +1
Makefile
+1
@@ -993,6 +993,7 @@ endif
993
994 ifdef SANITIZE
995 BASIC_CFLAGS += -fsanitize=$(SANITIZE) -fno-sanitize-recover=$(SANITIZE)
996 +BASIC_CFLAGS += -fno-omit-frame-pointer
997 endif
998
999 ifndef sysconfdir