diff --git a/make/linux/makefiles/gcc.make b/make/linux/makefiles/gcc.make index a4b8a9b0009f5581d2f59c35747d544ff1ed7ab6..c9580f33119564265a8c716cc5eaa8abbd07ed52 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