diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:23 +0000 |
commit | 8ca8fd757ab5c55b61bd141f8dba4e21c8ede0c3 (patch) | |
tree | 4ab4220b50b4203b898b98c8ba20db1c7df3600d /package/network/utils/iproute2/Makefile | |
parent | 014194de605990c6bdce52e03ee3dc1df13c45e8 (diff) | |
download | mtk-20170518-8ca8fd757ab5c55b61bd141f8dba4e21c8ede0c3.zip mtk-20170518-8ca8fd757ab5c55b61bd141f8dba4e21c8ede0c3.tar.gz mtk-20170518-8ca8fd757ab5c55b61bd141f8dba4e21c8ede0c3.tar.bz2 |
iproute2: always use -DHAVE_SETNS, since the old uclibc is gone now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47358
Diffstat (limited to 'package/network/utils/iproute2/Makefile')
-rw-r--r-- | package/network/utils/iproute2/Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index f5b5f4e..e5015db 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 += \ |