From: Keith Packard Date: Fri, 14 Apr 2017 03:16:52 +0000 (-0600) Subject: altos/telegps: Inherit LDFLAGS from lpc make specification X-Git-Tag: debian/1.6.8-5~1 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=e09d0aee9926951bd4179be03f1626de8d7927a9 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 --- 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)