summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-23 19:49:35 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-07-23 19:49:35 (GMT)
commita69e51dc7c4a4428cc035dd323e8b159580599e5 (patch)
tree0ed84c12687d0ef77253b4dea5d87bfd76e7a82d
parent41708f76f94b30994d0a821f0e24e9cf78f572b6 (diff)
MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it.
-rwxr-xr-xscripts/crosstool.sh4
1 files changed, 4 insertions, 0 deletions
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