]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Use -g instead of -gstabs in AFLAGS_DEBUG
authorWolfgang Denk <wd@pollux.denx.de>
Tue, 24 Oct 2006 11:57:33 +0000 (13:57 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Tue, 24 Oct 2006 11:57:33 +0000 (13:57 +0200)
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.

config.mk

index d32f51e90b08f054bf43b1842991c7d85ab1d8db..46e956f6d33408e94ab6684afca0542864fd5b65 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -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)