packages: some (e)glibc fixes after r44701
[openwrt/svn-archive/archive.git] / package / network / utils / iproute2 / Makefile
index 56d2897e2a6b92fa327632e0eaaf598434d88216..a2dae6d61b65668d36c913bc3a3d11d1445b2ebf 100644 (file)
@@ -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