summaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r--scripts/crosstool-NG.sh.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index 445f0f6..790fc91 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -26,7 +26,10 @@
# Yes! We can do full logging from now on!
# Overide the locale early, in case we ever translate crosstool-NG messages
-[ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ] && export LC_ALL=C
+if [ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ]; then
+ export LC_ALL=C
+ export LANG=C
+fi
# remove . from PATH since it can cause gcc build failures
CT_SanitizePath