build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS...
[oweals/openwrt.git] / rules.mk
index 0769a09278270e92bec1c1c24ec9b5fd0e7ad7e9..cc02b91bc9c8cc69f8072d57529e147c86fe2530 100644 (file)
--- a/rules.mk
+++ b/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