Use -g instead of -gstabs in AFLAGS_DEBUG

Patch by Haavard Skinnemoen, 30 Aug 2006

In config.mk, -Wa,-gstabs is unconditionally appended to AFLAGS no
matter what the target's preferred debugging format is. This patch
simply replaces -gstabs with -g, so that the default debugging format
for the architecture is used.
This commit is contained in:
Wolfgang Denk 2006-10-24 13:57:33 +02:00
parent 9658298721
commit 2da2d9a476
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ CFLAGS := $(CPPFLAGS) -Wall -Wno-trigraphs
endif
endif
AFLAGS_DEBUG := -Wa,-gstabs
AFLAGS_DEBUG := -Wa,-g
# turn jbsr into jsr for m68k
ifeq ($(ARCH),m68k)