iproute2: fix compile with uClibc-ng

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47291
This commit is contained in:
Felix Fietkau 2015-10-30 15:20:41 +00:00
parent 3bbb927728
commit 6de8a82f85

View file

@ -84,6 +84,9 @@ endif
ifdef CONFIG_USE_MUSL ifdef CONFIG_USE_MUSL
TARGET_CFLAGS += -DHAVE_SETNS TARGET_CFLAGS += -DHAVE_SETNS
endif endif
ifdef CONFIG_UCLIBC_USE_VERSION_NG
TARGET_CFLAGS += -DHAVE_SETNS
endif
TARGET_CFLAGS += -ffunction-sections -fdata-sections TARGET_CFLAGS += -ffunction-sections -fdata-sections