aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-12-17 18:51:37 -0500
committerH. Peter Anvin <hpa@zytor.com>2009-12-17 18:51:37 -0500
commit06b5dc646b9479b786d77749936f25910cd82a37 (patch)
tree9b2c0d292e331c13d972bbbe4448ff53ec88a90d /Makefile
parent8c63450718ea62ee3a70bffde170b4d15fc72d3c (diff)
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 <mhiramat@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> LKML-Reference: <4B2AC394.4030108@redhat.com> Cc: Michal Marek <mmarek@sues.cz> Cc: Roland Dreier <rdreier@cisco.com> Cc: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6e39af1d8bc4..5e92ca58fb6d 100644
--- a/Makefile
+++ b/Makefile
@@ -17,11 +17,11 @@ NAME = Man-Eating Seals of Antiquity
17MAKEFLAGS += -rR --no-print-directory 17MAKEFLAGS += -rR --no-print-directory
18 18
19# Avoid funny character set dependencies 19# Avoid funny character set dependencies
20LC_ALL= 20unexport LC_ALL
21LC_CTYPE=C 21LC_CTYPE=C
22LC_COLLATE=C 22LC_COLLATE=C
23LC_NUMERIC=C 23LC_NUMERIC=C
24export LC_ALL LC_CTYPE LC_COLLATE LC_NUMERIC 24export LC_CTYPE LC_COLLATE LC_NUMERIC
25 25
26# We are using a recursive build, so we need to do a little thinking 26# We are using a recursive build, so we need to do a little thinking
27# to get the ordering right. 27# to get the ordering right.