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