aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/120-libnetlink-pic.patch
blob: 26cc569dbff7a933aa1420e02a13ce5fc27c9fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -4,7 +4,7 @@ ifeq ($(IP_CONFIG_SETNS),y)
	CFLAGS += -DHAVE_SETNS
 endif
 
-CFLAGS += -fPIC
+CFLAGS += $(FPIC)
 
 UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o namespace.o