summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/120-libnetlink-pic.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-20 06:09:49 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-20 06:09:49 +0000
commit84e9706d095269ae8446eee57bfa6484539fc01c (patch)
tree3eae523ca9b5e531b956445eebf02519ca2073fa /package/iproute2/patches/120-libnetlink-pic.patch
parentd6a142375bd332ca71296d3d8ad94afd0cf996bc (diff)
downloadmtk-20170518-84e9706d095269ae8446eee57bfa6484539fc01c.zip
mtk-20170518-84e9706d095269ae8446eee57bfa6484539fc01c.tar.gz
mtk-20170518-84e9706d095269ae8446eee57bfa6484539fc01c.tar.bz2
iproute2: update to v2.6.31 (#7354)
SVN-Revision: 21513
Diffstat (limited to 'package/iproute2/patches/120-libnetlink-pic.patch')
-rw-r--r--package/iproute2/patches/120-libnetlink-pic.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/iproute2/patches/120-libnetlink-pic.patch b/package/iproute2/patches/120-libnetlink-pic.patch
index 8c0f2bd..c7b78d0 100644
--- a/package/iproute2/patches/120-libnetlink-pic.patch
+++ b/package/iproute2/patches/120-libnetlink-pic.patch
@@ -1,6 +1,7 @@
--- a/lib/Makefile
+++ b/lib/Makefile
-@@ -1,3 +1,4 @@
+@@ -1,4 +1,4 @@
+-CFLAGS += -fPIC
+CFLAGS+=$(FPIC)
UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o