diff -r acae437fddcc -r ace1d90c9b15 scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Wed May 19 18:17:39 2010 +0200 +++ b/scripts/crosstool-NG.sh.in Thu Jul 29 19:30:37 2010 +0200 @@ -28,6 +28,9 @@ # Overide the locale early, in case we ever translate crosstool-NG messages [ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ] && export LC_ALL=C +# remove . from PATH since it can cause gcc build failures +CT_SanitizePath + # Some sanity checks in the environment and needed tools CT_DoLog INFO "Performing some trivial sanity checks" CT_TestAndAbort "Don't set LD_LIBRARY_PATH. It screws up the build." -n "${LD_LIBRARY_PATH}"