summaryrefslogtreecommitdiff
path: root/package/network/utils/iproute2/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2015-03-16 12:25:06 +0000
committerNicolas Thill <nico@openwrt.org>2015-03-16 12:25:06 +0000
commit4b382a440b0a7cbddeddd5dafa24be7eca3cd628 (patch)
treed2220eee775ac541f4ba4df5a39f7104e9380018 /package/network/utils/iproute2/Makefile
parent81e51681e73490040842b96ac0250cde6c5a102a (diff)
downloadmtk-20170518-4b382a440b0a7cbddeddd5dafa24be7eca3cd628.zip
mtk-20170518-4b382a440b0a7cbddeddd5dafa24be7eca3cd628.tar.gz
mtk-20170518-4b382a440b0a7cbddeddd5dafa24be7eca3cd628.tar.bz2
packages: some (e)glibc fixes after r44701
Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44842
Diffstat (limited to 'package/network/utils/iproute2/Makefile')
-rw-r--r--package/network/utils/iproute2/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 56d2897..a2dae6d 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -82,10 +82,8 @@ 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
+ifdef CONFIG_USE_GLIBC
+ TARGET_CFLAGS += -DHAVE_SETNS
endif
ifdef CONFIG_USE_MUSL
TARGET_CFLAGS += -DHAVE_SETNS