1.1 --- a/scripts/crosstool-NG.sh.in Sun May 13 01:09:20 2012 +0200
1.2 +++ b/scripts/crosstool-NG.sh.in Wed Oct 03 15:59:22 2012 +1000
1.3 @@ -37,12 +37,10 @@
1.4 # Some sanity checks in the environment and needed tools
1.5 CT_DoLog INFO "Performing some trivial sanity checks"
1.6 CT_TestAndAbort "Don't set LD_LIBRARY_PATH. It screws up the build." -n "${LD_LIBRARY_PATH}"
1.7 +CT_TestAndAbort "Don't set LIBRARY_PATH. It screws up the build." -n "${LIBRARY_PATH}"
1.8 +CT_TestAndAbort "Don't set LPATH. It screws up the build." -n "${LPATH}"
1.9 CT_TestAndAbort "Don't set CFLAGS. It screws up the build." -n "${CFLAGS}"
1.10 CT_TestAndAbort "Don't set CXXFLAGS. It screws up the build." -n "${CXXFLAGS}"
1.11 -CT_Test "LIBRARY_PATH screws up the build. Resetting." -n "${LIBRARY_PATH}"
1.12 -export LIBRARY_PATH=
1.13 -CT_Test "LPATH screws up the build. Resetting." -n "$LPATH"
1.14 -export LPATH=
1.15 CT_Test "GREP_OPTIONS screws up the build. Resetting." -n "${GREP_OPTIONS}"
1.16 export GREP_OPTIONS=
1.17 # Workaround against openSUSE 12.1 that breaks ./configure for cross-compilation: