diff options
author | Marian Balakowicz <m8@semihalf.com> | 2006-05-17 10:18:48 (GMT) |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2006-05-17 10:18:48 (GMT) |
commit | b62fa913d47e1dab7cbb055dae627c434ea57255 (patch) | |
tree | fbc8e9aec13c333bb8c547fb5904afbbd42556dd /config.mk | |
parent | 27333f8c343ec31008c6d626210961f319ad4ec1 (diff) | |
download | u-boot-b62fa913d47e1dab7cbb055dae627c434ea57255.tar.xz |
Fix gcc 3.4.x AFLAGS setting for m68k platform.
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -143,14 +143,15 @@ CFLAGS := $(CPPFLAGS) -Wall -Wno-trigraphs endif endif +AFLAGS_DEBUG := -Wa,-gstabs + # turn jbsr into jsr for m68k ifeq ($(ARCH),m68k) ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4) AFLAGS_DEBUG := -Wa,-gstabs,-S endif -else -AFLAGS_DEBUG := -Wa,-gstabs endif + AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS) LDFLAGS += -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE) $(PLATFORM_LDFLAGS) |