* gcc_update (touch_files): Explicitly pass --no-print-directory.

From-SVN: r90614
This commit is contained in:
Hans-Peter Nilsson 2004-11-14 06:31:00 +00:00 committed by Hans-Peter Nilsson
parent 27e29549a0
commit 18ccc7e0e3
2 changed files with 11 additions and 1 deletions

View File

@ -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.

View File

@ -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.$$