aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/120-libnetlink-pic.patch
blob: 19ccd1a936f871f235561e6787545b1e760bd380 (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 \
	names.o