From 3390c62b6d0761764ec5249d72bda33b984a8f90 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 13 Apr 2017 21:16:52 -0600 Subject: [PATCH] altos/telegps: Inherit LDFLAGS from lpc make specification Somethings messed up with cortex-M0 linking, and this isn't helping as it overrides the LDFLAGS coming from the architecture. Signed-off-by: Keith Packard --- src/telegps-v0.3/Makefile | 2 -- src/telegps-v1.0/Makefile | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/telegps-v0.3/Makefile b/src/telegps-v0.3/Makefile index 1eaf7c47..834609d9 100644 --- a/src/telegps-v0.3/Makefile +++ b/src/telegps-v0.3/Makefile @@ -67,8 +67,6 @@ OBJ=$(SRC:.c=.o) all: $(PROG) $(HEX) -LDFLAGS=-L../lpc -Wl,-Taltos.ld - $(PROG): Makefile $(OBJ) altos.ld $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS) diff --git a/src/telegps-v1.0/Makefile b/src/telegps-v1.0/Makefile index bd13cfe7..76dc0371 100644 --- a/src/telegps-v1.0/Makefile +++ b/src/telegps-v1.0/Makefile @@ -70,8 +70,6 @@ OBJ=$(SRC:.c=.o) all: $(PROG) $(HEX) -LDFLAGS=-L../lpc -Wl,-Taltos.ld - $(PROG): Makefile $(OBJ) altos.ld $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS) -- 2.30.2