diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 445f0f6e..790fc91d 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