From bebcd884314f1dada0d095f93d6e827371924cf7 Mon Sep 17 00:00:00 2001 From: BuFran Date: Sun, 14 Jul 2013 08:07:09 +0200 Subject: [PATCH] [LINKER] Clear ARCH_FLAGS if the DEVICE is specified --- ld/Makefile.linker | 1 + 1 file changed, 1 insertion(+) diff --git a/ld/Makefile.linker b/ld/Makefile.linker index 656c26b9..ae730a97 100644 --- a/ld/Makefile.linker +++ b/ld/Makefile.linker @@ -58,6 +58,7 @@ LDSCRIPT=$(DEVICE).ld LD_PARAMS=$(shell awk -v PAT="$(DEVICE)" -f $(SRCLIBDIR)/scripts/genlink.awk $(SRCLIBDIR)/ld/devices.data 2>/dev/null) CFLAGS+=$(LD_PARAMS) LDFLAGS+=$(LD_PARAMS) +ARCH_FLAGS= $(LDSCRIPT):$(SRCLIBDIR)/ld/linker.ld.S ifeq ($(LD_PARAMS),)