MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it.
1.1 --- a/scripts/crosstool.sh Mon Jul 23 09:46:05 2007 +0000
1.2 +++ b/scripts/crosstool.sh Mon Jul 23 19:49:35 2007 +0000
1.3 @@ -38,6 +38,10 @@
1.4 # Some sanity checks in the environment and needed tools
1.5 CT_DoLog INFO "Checking environment sanity"
1.6
1.7 +CT_DoLog DEBUG "Unsetting and unexporting MAKEFLAGS"
1.8 +unset MAKEFLAGS
1.9 +export MAKEFLAGS
1.10 +
1.11 # Enable known ordering of files in directory listings:
1.12 CT_Test "crosstool-NG might not work as expected with LANG=\"${LANG}\"" -n "${LANG}"
1.13 case "${LC_COLLATE},${LC_ALL}" in