diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:07 +0000 |
commit | 51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f (patch) | |
tree | 45589d27f33c5761591d3e65f39cc0f9953fa679 | |
parent | 00bcebeb4cabcaa630ee940f8bd15d29a563afa6 (diff) | |
download | upstream-51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f.tar.gz upstream-51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f.tar.bz2 upstream-51ae801ee3ba4b97e3e13e2a0ac95fe8b292898f.zip |
build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39980
-rw-r--r-- | include/package-defaults.mk | 1 | ||||
-rw-r--r-- | rules.mk | 6 | ||||
-rw-r--r-- | toolchain/gdb/Makefile | 1 | ||||
-rw-r--r-- | toolchain/insight/Makefile | 1 |
4 files changed, 1 insertions, 8 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 62ccbb93ef..8f35c3293e 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -64,6 +64,7 @@ ifneq ($(strip $(PKG_UNPACK)),) endif EXTRA_CXXFLAGS = $(EXTRA_CFLAGS) +DISABLE_NLS:=--disable-nls CONFIGURE_PREFIX:=/usr CONFIGURE_ARGS = \ @@ -260,12 +260,6 @@ else $(SCRIPT_DIR)/rstrip.sh endif -ifeq ($(CONFIG_ENABLE_LOCALE),true) - DISABLE_NLS:=--enable-nls -else - DISABLE_NLS:=--disable-nls -endif - ifeq ($(CONFIG_IPV6),y) DISABLE_IPV6:= else diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile index 627baff528..10de1f883f 100644 --- a/toolchain/gdb/Makefile +++ b/toolchain/gdb/Makefile @@ -29,7 +29,6 @@ define Host/Configure --host=$(GNU_HOST_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \ --disable-werror \ - $(DISABLE_NLS) \ --without-uiout \ --disable-tui --disable-gdbtk --without-x \ --without-included-gettext \ diff --git a/toolchain/insight/Makefile b/toolchain/insight/Makefile index 9fb39e1932..3744f56451 100644 --- a/toolchain/insight/Makefile +++ b/toolchain/insight/Makefile @@ -28,7 +28,6 @@ define Host/Configure --build=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \ - $(DISABLE_NLS) \ --enable-threads \ --enable-werror=no \ ); |