From ea3cdae6d27dd7a8a272b08ba303a95c92908759 Mon Sep 17 00:00:00 2001
From: Alexander Ryzhov <github@ryzhov-al.ru>
Date: Tue, 29 Dec 2015 01:48:01 -0500
Subject: [PATCH] gpsd: respect LDFLAGS Signed-off-by: Alexander Ryzhov
 <openwrt@ryzhov-al.ru>

---
 utils/gpsd/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/gpsd/Makefile b/utils/gpsd/Makefile
index 2351f71ec..0a6ef374c 100644
--- a/utils/gpsd/Makefile
+++ b/utils/gpsd/Makefile
@@ -83,6 +83,9 @@ define Package/libgps/description
   This package contains the libgps library.
 endef
 
+SCONS_VARS += \
+	LINKFLAGS="$(TARGET_LDFLAGS)"
+
 SCONS_OPTIONS += \
 	dbus_export=no \
 	tsip=no \