diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-10-26 17:55:31 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2006-10-27 17:51:03 +0200 |
commit | e11887a77d81077416a2d1c5e0354916fee8c034 (patch) | |
tree | cfb4c476d48d2f69e3d7878f64aec67d4037863e /config.mk | |
parent | ea08ff6e14f9ebb8c07cfa79c51ef540eb087393 (diff) | |
download | u-boot-imx-e11887a77d81077416a2d1c5e0354916fee8c034.zip u-boot-imx-e11887a77d81077416a2d1c5e0354916fee8c034.tar.gz u-boot-imx-e11887a77d81077416a2d1c5e0354916fee8c034.tar.bz2 |
Don't pass any debug options directly to the assembler
When passing the -g option to gcc, gcc automatically selects a
suitable --g<format> 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 <hskinnemoen@atmel.com>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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<format> +# option to the assembler. +AFLAGS_DEBUG := # turn jbsr into jsr for m68k ifeq ($(ARCH),m68k) |