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
This commit is contained in:
parent
00bcebeb4c
commit
51ae801ee3
@ -64,6 +64,7 @@ ifneq ($(strip $(PKG_UNPACK)),)
|
||||
endif
|
||||
|
||||
EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)
|
||||
DISABLE_NLS:=--disable-nls
|
||||
|
||||
CONFIGURE_PREFIX:=/usr
|
||||
CONFIGURE_ARGS = \
|
||||
|
6
rules.mk
6
rules.mk
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user