From b62fa913d47e1dab7cbb055dae627c434ea57255 Mon Sep 17 00:00:00 2001 From: Marian Balakowicz Date: Wed, 17 May 2006 12:18:48 +0200 Subject: Fix gcc 3.4.x AFLAGS setting for m68k platform. --- config.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index b1e1d8f14..c7b841da5 100644 --- a/config.mk +++ b/config.mk @@ -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) -- cgit v1.2.3