From 16d8827150c6ce9250de65bbba28153ca996cb90 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Wed, 2 Jul 2014 12:41:36 +0000
Subject: [PATCH] iproute2: re-enable PIC, it is only applied to libnetlink.a
 and required for collectd

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41460
---
 package/network/utils/iproute2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 558855ff4c..fc47159b0d 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -86,7 +86,7 @@ MAKE_FLAGS += \
 	SHARED_LIBS="" \
 	LDFLAGS="-Wl,--gc-sections" \
 	IP_CONFIG_TINY=$(IP_CONFIG_TINY) \
-	FPIC=""
+	FPIC="$(FPIC)"
 
 define Build/Compile
 	+$(MAKE_VARS) $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS)
-- 
GitLab