From: Felix Fietkau Date: Fri, 30 Oct 2015 15:20:41 +0000 (+0000) Subject: iproute2: fix compile with uClibc-ng X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=3decbd55953ae2d0e38954753ba43c2bd8bbcfb8;hp=29628160713967033225898603c6af420d68d184 iproute2: fix compile with uClibc-ng Signed-off-by: Stijn Tintel SVN-Revision: 47291 --- 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