Browse Source

[LINKER] Clear ARCH_FLAGS if the DEVICE is specified

pull/179/merge
BuFran 11 years ago
committed by Piotr Esden-Tempski
parent
commit
bebcd88431
  1. 1
      ld/Makefile.linker

1
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),)

Loading…
Cancel
Save