summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-24 13:57:33 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-10-24 13:57:33 +0200
commit2da2d9a4766063b9848f3a35ad6025499cf87265 (patch)
treed67008a137c040c4ebdc63313ae6e445853b9aeb
parent965829872169c2996023840d98e1d85ad148d629 (diff)
downloadu-boot-imx-2da2d9a4766063b9848f3a35ad6025499cf87265.zip
u-boot-imx-2da2d9a4766063b9848f3a35ad6025499cf87265.tar.gz
u-boot-imx-2da2d9a4766063b9848f3a35ad6025499cf87265.tar.bz2
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.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index d32f51e..46e956f 100644
--- 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)