summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-10-30 15:20:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-10-30 15:20:41 +0000
commit6de8a82f851874a4aeb62076f14606f6c543104e (patch)
treed68c586d04fd3f1563a07b8c6b2f9c4d7067d9b0 /package
parent3bbb92772813c7a955d210f0e82ebdedd3183cec (diff)
downloadmtk-20170518-6de8a82f851874a4aeb62076f14606f6c543104e.zip
mtk-20170518-6de8a82f851874a4aeb62076f14606f6c543104e.tar.gz
mtk-20170518-6de8a82f851874a4aeb62076f14606f6c543104e.tar.bz2
iproute2: fix compile with uClibc-ng
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47291
Diffstat (limited to 'package')
-rw-r--r--package/network/utils/iproute2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 23834df..f5b5f4e 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -84,6 +84,9 @@ endif
ifdef CONFIG_USE_MUSL
TARGET_CFLAGS += -DHAVE_SETNS
endif
+ifdef CONFIG_UCLIBC_USE_VERSION_NG
+ TARGET_CFLAGS += -DHAVE_SETNS
+endif
TARGET_CFLAGS += -ffunction-sections -fdata-sections