From 6071bb4e1a51fe16093b22d89457e7cb64364ea5 Mon Sep 17 00:00:00 2001
From: Peter Korsgaard <jacmet@sunsite.dk>
Date: Thu, 29 Jan 2009 19:13:53 +0000
Subject: [PATCH] toolchain/gcc: remove unused GCC_ENABLE_CLOCALE

This variable was introduced in r17046 (add gfortran support,
2006-12-22) and wasn't used even there.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 toolchain/gcc/gcc-uclibc-3.x.mk | 4 ----
 toolchain/gcc/gcc-uclibc-4.x.mk | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 368ac8ee9b..bb4137c3ac 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -123,10 +123,6 @@ else
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
-ifneq ($(BR2_ENABLE_LOCALE),y)
-GCC_ENABLE_CLOCALE:=--disable-clocale
-endif
-
 HOST_SOURCE+=gcc-source
 
 #############################################################
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index cd49c18572..461e45ea28 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -133,10 +133,6 @@ else
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
-ifneq ($(BR2_ENABLE_LOCALE),y)
-GCC_ENABLE_CLOCALE:=--disable-clocale
-endif
-
 ifeq ($(BR2_KERNEL_HURD),y)
 EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
 endif