# HG changeset patch # User "Yann E. MORIN" # Date 1185220175 0 # Node ID 37e0b2562753d39f02beda136a40bea63967cb37 # Parent a9a0a071486089316e9457ef4f2a3b05151d1840 MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it. diff -r a9a0a0714860 -r 37e0b2562753 scripts/crosstool.sh --- a/scripts/crosstool.sh Mon Jul 23 09:46:05 2007 +0000 +++ b/scripts/crosstool.sh Mon Jul 23 19:49:35 2007 +0000 @@ -38,6 +38,10 @@ # Some sanity checks in the environment and needed tools CT_DoLog INFO "Checking environment sanity" +CT_DoLog DEBUG "Unsetting and unexporting MAKEFLAGS" +unset MAKEFLAGS +export MAKEFLAGS + # Enable known ordering of files in directory listings: CT_Test "crosstool-NG might not work as expected with LANG=\"${LANG}\"" -n "${LANG}" case "${LC_COLLATE},${LC_ALL}" in