From: Haavard Skinnemoen Date: Thu, 26 Oct 2006 15:55:31 +0000 (+0200) Subject: Don't pass any debug options directly to the assembler X-Git-Tag: U-Boot-1_1_6~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e11887a77d81077416a2d1c5e0354916fee8c034;p=kernel%2Fu-boot.git Don't pass any debug options directly to the assembler When passing the -g option to gcc, gcc automatically selects a suitable --g option to pass on to the assembler. Thus, there's no point in forcing a specific debug option on the assembler using the -Wa mechanism. Signed-off-by: Haavard Skinnemoen --- diff --git a/config.mk b/config.mk index 46e956f..f65d3ca 100644 --- a/config.mk +++ b/config.mk @@ -169,7 +169,9 @@ CFLAGS := $(CPPFLAGS) -Wall -Wno-trigraphs endif endif -AFLAGS_DEBUG := -Wa,-g +# $(CPPFLAGS) sets -g, which causes gcc to pass a suitable -g +# option to the assembler. +AFLAGS_DEBUG := # turn jbsr into jsr for m68k ifeq ($(ARCH),m68k)