summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2004-11-14 06:31:00 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2004-11-14 06:31:00 +0000
commit18ccc7e0e3c2e597e96e73b85bbe202e13979adb (patch)
tree2b2c8728c016951ee89d71855fc31967ad34375c /contrib
parent27e29549a03c1c71c56abb27767d8393f7d0e65e (diff)
downloadgcc-18ccc7e0e3c2e597e96e73b85bbe202e13979adb.tar.gz
* gcc_update (touch_files): Explicitly pass --no-print-directory.
From-SVN: r90614
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/gcc_update8
2 files changed, 11 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 855c6be0f4e..c351739622f 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-14 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * gcc_update (touch_files): Explicitly pass --no-print-directory.
+
2004-11-04 Andrew Pinski <pinskia@physics.uc.edu>
* gcc_update (boehm-gc/aclocal.m4): Remove boehm-gc/acinclude.m4.
diff --git a/contrib/gcc_update b/contrib/gcc_update
index 55a7d6a9e8a..9b39ae2989f 100755
--- a/contrib/gcc_update
+++ b/contrib/gcc_update
@@ -128,7 +128,13 @@ touch_files () {
echo ' echo Touching $@... 1>&2; \' >> Makefile.$$
echo ' touch $@' >> Makefile.$$
files_and_dependencies | sed 's,[^ ]* ,,;s,$, :,' >> Makefile.$$
- while ${MAKE-make} -s -f Makefile.$$ all | grep . > /dev/null; do
+
+ # We need to explicitly shut off the "Entering... Leaving..."
+ # messages through "--no-print-directory" to handle the case when
+ # we were called from a recursive invocation (i.e. "$(MAKE)" in a
+ # Makefile, not just make). Passing only "-s" doesn't help then,
+ # because make has helpfully added "-w" to MAKEFLAGS automatically.
+ while ${MAKE-make} -s --no-print-directory -f Makefile.$$ all | grep . > /dev/null; do
sleep 1
done 2>&1
rm -f Makefile.$$