From: s situert Date: Wed, 14 Feb 2007 08:32:55 +0000 (-0800) Subject: [PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v X-Git-Tag: v2.6.21-rc1~270 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=895a39a084e5478121a74752a291165c4502378f;p=pandora-kernel.git [PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v Fix a minor bug in mkcompile_h. As one can see, the current locale is used while getting the version of gcc. This produces problems when a locale other than C or en_US is used. As an example, my /proc/version contains Turkish characters in iso-8859-9 encoding. This patch fixes this issue by making sure that the C locale is used to get gcc's version. Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed