From 1875639ac1180e8db751de2416b1c5a399b9150e Mon Sep 17 00:00:00 2001 From: sgehwolf Date: Wed, 19 Sep 2018 14:26:01 -0400 Subject: [PATCH] 8207057: No debug info for assembler files Summary: Generate debug info for assembler files as needed. Reviewed-by: erikj --- make/linux/makefiles/gcc.make | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/make/linux/makefiles/gcc.make b/make/linux/makefiles/gcc.make index a4b8a9b00..c9580f331 100644 --- a/make/linux/makefiles/gcc.make +++ b/make/linux/makefiles/gcc.make @@ -184,6 +184,10 @@ AOUT_FLAGS += $(ARCHFLAG) LFLAGS += $(ARCHFLAG) ASFLAGS += $(ARCHFLAG) +ifeq ($(DEBUG_BINARIES), true) + ASFLAGS += $(ASFLAGS_DEBUG_SYMBOLS) +endif + # Use C++ Interpreter ifdef CC_INTERP CFLAGS += -DCC_INTERP -- GitLab