From 2829fd7a135cc758821628249e9783a99ca5e252 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 30 Oct 2015 15:20:41 +0000 Subject: [PATCH] iproute2: fix compile with uClibc-ng Signed-off-by: Stijn Tintel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47291 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/utils/iproute2/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 23834dfd24..f5b5f4e536 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 -- 2.11.0