diff -r 10ad7f230f4b -r 20dd8cef1c8a scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Sat May 22 22:04:31 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}"