From a69e51dc7c4a4428cc035dd323e8b159580599e5 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Mon, 23 Jul 2007 19:49:35 +0000 Subject: MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it. diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index 7d93da6..350af8e 100755 --- a/scripts/crosstool.sh +++ b/scripts/crosstool.sh @@ -38,6 +38,10 @@ CT_EndStep # 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 -- cgit v0.10.2-6-g49f6