diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-07 12:37:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-07 12:37:49 +0000 |
commit | 72d33803e7eae9924d7f96bb394549909838e322 (patch) | |
tree | 64ef2d79c01ac84b7fee5fa8bde0b5196287e833 /package | |
parent | 93372a3e69e22c31e4664b8d791de4e08416fea4 (diff) | |
download | mtk-20170518-72d33803e7eae9924d7f96bb394549909838e322.zip mtk-20170518-72d33803e7eae9924d7f96bb394549909838e322.tar.gz mtk-20170518-72d33803e7eae9924d7f96bb394549909838e322.tar.bz2 |
iproute2: fix build errors with newer versions of eglibc
SVN-Revision: 32103
Diffstat (limited to 'package')
-rw-r--r-- | package/iproute2/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile index 640b565..80681f5 100644 --- a/package/iproute2/Makefile +++ b/package/iproute2/Makefile @@ -63,6 +63,12 @@ define Build/Configure > $(PKG_BUILD_DIR)/include/SNAPSHOT.h endef +ifdef CONFIG_USE_EGLIBC + ifndef CONFIG_EGLIBC_VERSION_2_13 + TARGET_CFLAGS += -DHAVE_SETNS + endif +endif + MAKE_FLAGS += \ EXTRA_CCOPTS="$(TARGET_CFLAGS) -I../include -I$(STAGING_DIR)/usr/include/libnl-tiny" \ KERNEL_INCLUDE="$(LINUX_DIR)/include" \ |