From: H. Peter Anvin Date: Thu, 17 Dec 2009 23:51:37 +0000 (-0800) Subject: Makefile: Unexport LC_ALL instead of clearing it X-Git-Tag: v2.6.33-rc3~26^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06b5dc646b9479b786d77749936f25910cd82a37;p=profile%2Fcommon%2Fkernel-common.git Makefile: Unexport LC_ALL instead of clearing it Apparently not all versions of glibc and utilities treat an empty LC_ALL as nonexistent, causing error messages to be garbled. Instead, explicitly unexport it from the environment. Reported-and-tested-by: Masami Hiramatsu Signed-off-by: H. Peter Anvin LKML-Reference: <4B2AC394.4030108@redhat.com> Cc: Michal Marek Cc: Roland Dreier Cc: Sam Ravnborg --- diff --git a/Makefile b/Makefile index 6e39af1..5e92ca5 100644 --- a/Makefile +++ b/Makefile @@ -17,11 +17,11 @@ NAME = Man-Eating Seals of Antiquity MAKEFLAGS += -rR --no-print-directory # Avoid funny character set dependencies -LC_ALL= +unexport LC_ALL LC_CTYPE=C LC_COLLATE=C LC_NUMERIC=C -export LC_ALL LC_CTYPE LC_COLLATE LC_NUMERIC +export LC_CTYPE LC_COLLATE LC_NUMERIC # We are using a recursive build, so we need to do a little thinking # to get the ordering right.