aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/160-libnetlink-pic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iproute2/patches/160-libnetlink-pic.patch')
-rw-r--r--package/network/utils/iproute2/patches/160-libnetlink-pic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/160-libnetlink-pic.patch b/package/network/utils/iproute2/patches/160-libnetlink-pic.patch
new file mode 100644
index 0000000000..aad87a1e4f
--- /dev/null
+++ b/package/network/utils/iproute2/patches/160-libnetlink-pic.patch
@@ -0,0 +1,11 @@
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -1,7 +1,7 @@
+ # SPDX-License-Identifier: GPL-2.0
+ include ../config.mk
+
+-CFLAGS += -fPIC
++CFLAGS += $(FPIC)
+
+ UTILOBJ = utils.o rt_names.o ll_map.o ll_types.o ll_proto.o ll_addr.o \
+ inet_proto.o namespace.o json_writer.o json_print.o \