From 8ca8fd757ab5c55b61bd141f8dba4e21c8ede0c3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 2 Nov 2015 18:12:23 +0000 Subject: [PATCH] iproute2: always use -DHAVE_SETNS, since the old uclibc is gone now Signed-off-by: Felix Fietkau SVN-Revision: 47358 --- package/network/utils/iproute2/Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index f5b5f4e536..e5015dbdfc 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -78,16 +78,7 @@ define Build/Configure > $(PKG_BUILD_DIR)/include/SNAPSHOT.h endef -ifdef CONFIG_USE_GLIBC - TARGET_CFLAGS += -DHAVE_SETNS -endif -ifdef CONFIG_USE_MUSL - TARGET_CFLAGS += -DHAVE_SETNS -endif -ifdef CONFIG_UCLIBC_USE_VERSION_NG - TARGET_CFLAGS += -DHAVE_SETNS -endif - +TARGET_CFLAGS += -DHAVE_SETNS TARGET_CFLAGS += -ffunction-sections -fdata-sections MAKE_FLAGS += \ -- 2.25.1