MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 23 19:49:35 2007 +0000 (2007-07-23)
changeset 29037e0b2562753
parent 289 a9a0a0714860
child 291 64c57f736ec3
MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it.
scripts/crosstool.sh
     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