Makefile: Unexport LC_ALL instead of clearing it
authorH. Peter Anvin <hpa@zytor.com>
Thu, 17 Dec 2009 23:51:37 +0000 (15:51 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 17 Dec 2009 23:51:37 +0000 (15:51 -0800)
commit06b5dc646b9479b786d77749936f25910cd82a37
tree9b2c0d292e331c13d972bbbe4448ff53ec88a90d
parent8c63450718ea62ee3a70bffde170b4d15fc72d3c
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>
Makefile