aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/160-libnetlink-pic.patch
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-07-10 12:19:40 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-07-10 19:30:12 +0200
commit7e824183726649a32a998930f3f0a6ab360d5d2d (patch)
treec2fd01ebd967b15c7c7629714a073c8c523d229f /package/network/utils/iproute2/patches/160-libnetlink-pic.patch
parent6dac92a42e052f89971762173daabb7fd84742ef (diff)
downloadupstream-7e824183726649a32a998930f3f0a6ab360d5d2d.tar.gz
upstream-7e824183726649a32a998930f3f0a6ab360d5d2d.tar.bz2
upstream-7e824183726649a32a998930f3f0a6ab360d5d2d.zip
iproute2: update to 4.17.0
Update to the latest version of iproute2; see https://lwn.net/Articles/756991/ for a full overview of the changes in 4.17. Remove upstream patch 002-json_print-fix-hidden-64-bit-type-promotion. Backport upstream patch 001-rdma-sync-some-IP-headers-with-glibc fixing rdma compile issue. At the same time re-organize patch numbering so the OpenWRT specific patches start at 100. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
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 \