From patchwork Fri Jan 8 12:16:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 71764 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o08CGpve004067 for ; Fri, 8 Jan 2010 12:16:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753192Ab0AHMQu (ORCPT ); Fri, 8 Jan 2010 07:16:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752344Ab0AHMQu (ORCPT ); Fri, 8 Jan 2010 07:16:50 -0500 Received: from cantor.suse.de ([195.135.220.2]:59074 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751489Ab0AHMQt (ORCPT ); Fri, 8 Jan 2010 07:16:49 -0500 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 4F628457F0; Fri, 8 Jan 2010 13:16:48 +0100 (CET) Received: by sepie.suse.cz (Postfix, from userid 10020) id 6A1DF7640F; Fri, 8 Jan 2010 13:16:47 +0100 (CET) From: Michal Marek To: "H. Peter Anvin" , Simon Horman Cc: Masami Hiramatsu , Roland Dreier , Sam Ravnborg , Sergei Trofimovich , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org Subject: [PATCH] Makefile: do not override LC_CTYPE Date: Fri, 8 Jan 2010 13:16:28 +0100 Message-Id: <1262952988-16563-1-git-send-email-mmarek@suse.cz> X-Mailer: git-send-email 1.6.5.3 In-Reply-To: <20100108115745.GA14758@sepie.suse.cz> References: <20100108115745.GA14758@sepie.suse.cz> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org diff --git a/Makefile b/Makefile index 09a320f..a7b4351 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,9 @@ MAKEFLAGS += -rR --no-print-directory # Avoid funny character set dependencies unexport LC_ALL -LC_CTYPE=C LC_COLLATE=C LC_NUMERIC=C -export LC_CTYPE LC_COLLATE LC_NUMERIC +export LC_COLLATE LC_NUMERIC # We are using a recursive build, so we need to do a little thinking # to get the ordering right. diff --git a/arch/sh/tools/Makefile b/arch/sh/tools/Makefile index 558a56b..2082af1 100644 --- a/arch/sh/tools/Makefile +++ b/arch/sh/tools/Makefile @@ -13,4 +13,4 @@ include/generated/machtypes.h: $(src)/gen-mach-types $(src)/mach-types @echo ' Generating $@' $(Q)mkdir -p $(dir $@) - $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } + $(Q)LC_ALL=C $(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }