From 374dc34c26023cc50ee126c552664a79ff630d38 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 10 Apr 2013 13:52:23 +0200 Subject: [PATCH] Makefile: don't put "-lgps" into LDFLAGS as this is overridden by bitbake/poky --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0059b70..e73afa3 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,8 @@ CFLAGS=-Wall -O2 -LDFLAGS=-lgps gpsdate: gpsdate.o - $(CC) $(LDFLAGS) -o $@ $^ + $(CC) $(LDFLAGS) -lgps -o $@ $^ %.o: %.c $(CC) $(CFLAGS) -o $@ -c $^