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 | 6b7bcb9292a38e459552b3a52cf7d7dedb6539c2 (patch) | |
tree | 3d0e415e1d9ad1a15c30d7f043a50b573fc80ca4 | |
parent | adc4005450dc7fa0ec8ef2940c776e68dfbeb851 (diff) | |
download | upstream-6b7bcb9292a38e459552b3a52cf7d7dedb6539c2.tar.gz upstream-6b7bcb9292a38e459552b3a52cf7d7dedb6539c2.tar.bz2 upstream-6b7bcb9292a38e459552b3a52cf7d7dedb6539c2.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39980 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 \ ); |