From 5e90e8283c3513f4d89f473827863473a4191045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 26 Mar 2021 10:45:52 +0100 Subject: [PATCH] build: Use gdb debug infos instead of dwarf-2 strict-dwarf. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 93069205..c1af4441 100644 --- a/Makefile.in +++ b/Makefile.in @@ -177,7 +177,7 @@ endif CROSSLDFLAGS += -Wl,--file-alignment,4096 OPTIMIZE_FLAGS := -O2 -march=nocona -mtune=core-avx2 -mfpmath=sse SANITY_FLAGS := -fwrapv -fno-strict-aliasing -DEBUG_FLAGS := -gdwarf-2 -gstrict-dwarf +DEBUG_FLAGS := -ggdb -ffunction-sections -fdata-sections -fno-omit-frame-pointer COMMON_FLAGS = $(DEBUG_FLAGS) $(OPTIMIZE_FLAGS) $(SANITY_FLAGS) -ffile-prefix-map=$(CCACHE_BASEDIR)=. COMMON_FLAGS32 := -mstackrealign COMMON_FLAGS64 := -mcmodel=small