1.1 --- a/scripts/crosstool-NG.sh.in Sat May 22 22:04:31 2010 +0200
1.2 +++ b/scripts/crosstool-NG.sh.in Thu Jul 29 19:47:16 2010 +0200
1.3 @@ -28,6 +28,9 @@
1.4 # Overide the locale early, in case we ever translate crosstool-NG messages
1.5 [ -z "${CT_NO_OVERIDE_LC_MESSAGES}" ] && export LC_ALL=C
1.6
1.7 +# remove . from PATH since it can cause gcc build failures
1.8 +CT_SanitizePath
1.9 +
1.10 # Some sanity checks in the environment and needed tools
1.11 CT_DoLog INFO "Performing some trivial sanity checks"
1.12 CT_TestAndAbort "Don't set LD_LIBRARY_PATH. It screws up the build." -n "${LD_LIBRARY_PATH}"