changeset 8967:25beb9e0ffa7

8207057: No debug info for assembler files Summary: Generate debug info for assembler files as needed. Reviewed-by: erikj
author sgehwolf
date Wed, 19 Sep 2018 14:26:01 -0400
parents 16b9bbfaa450
children 7a6239517d46
files make/linux/makefiles/gcc.make
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Fri Sep 14 07:58:22 2018 -0700
+++ b/make/linux/makefiles/gcc.make	Wed Sep 19 14:26:01 2018 -0400
@@ -184,6 +184,10 @@
 LFLAGS     += $(ARCHFLAG)
 ASFLAGS    += $(ARCHFLAG)
 
+ifeq ($(DEBUG_BINARIES), true)
+  ASFLAGS    += $(ASFLAGS_DEBUG_SYMBOLS)
+endif
+
 # Use C++ Interpreter
 ifdef CC_INTERP
   CFLAGS += -DCC_INTERP