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
master
Felix Fietkau 2014-03-21 15:54:07 +00:00
parent adc4005450
commit 6b7bcb9292
4 changed files with 1 additions and 8 deletions

View File

@ -64,6 +64,7 @@ ifneq ($(strip $(PKG_UNPACK)),)
endif endif
EXTRA_CXXFLAGS = $(EXTRA_CFLAGS) EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)
DISABLE_NLS:=--disable-nls
CONFIGURE_PREFIX:=/usr CONFIGURE_PREFIX:=/usr
CONFIGURE_ARGS = \ CONFIGURE_ARGS = \

View File

@ -260,12 +260,6 @@ else
$(SCRIPT_DIR)/rstrip.sh $(SCRIPT_DIR)/rstrip.sh
endif endif
ifeq ($(CONFIG_ENABLE_LOCALE),true)
DISABLE_NLS:=--enable-nls
else
DISABLE_NLS:=--disable-nls
endif
ifeq ($(CONFIG_IPV6),y) ifeq ($(CONFIG_IPV6),y)
DISABLE_IPV6:= DISABLE_IPV6:=
else else

View File

@ -29,7 +29,6 @@ define Host/Configure
--host=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \
--disable-werror \ --disable-werror \
$(DISABLE_NLS) \
--without-uiout \ --without-uiout \
--disable-tui --disable-gdbtk --without-x \ --disable-tui --disable-gdbtk --without-x \
--without-included-gettext \ --without-included-gettext \

View File

@ -28,7 +28,6 @@ define Host/Configure
--build=$(GNU_HOST_NAME) \ --build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \
$(DISABLE_NLS) \
--enable-threads \ --enable-threads \
--enable-werror=no \ --enable-werror=no \
); );