Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
nbd committed Mar 21, 2014
1 parent 5aa5418 commit 4c1661b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions include/package-defaults.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ ifneq ($(strip $(PKG_UNPACK)),)
endif

EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)
DISABLE_NLS:=--disable-nls

CONFIGURE_PREFIX:=/usr
CONFIGURE_ARGS = \
Expand Down
6 changes: 0 additions & 6 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion toolchain/gdb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 0 additions & 1 deletion toolchain/insight/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
);
Expand Down

0 comments on commit 4c1661b

Please sign in to comment.