public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: "./contrib/gcc_update --touch" doesn't work with make
       [not found] ` <Pine.BSF.4.30.0207161732520.67645-100000@dair.pair.com>
@ 2002-07-16 15:24   ` H. J. Lu
  0 siblings, 0 replies; only message in thread
From: H. J. Lu @ 2002-07-16 15:24 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: Gerald Pfeifer, gcc, gcc-patches

On Tue, Jul 16, 2002 at 05:37:19PM -0400, Hans-Peter Nilsson wrote:
> On Tue, 16 Jul 2002, H. J. Lu wrote:
> > I have several targets in ../common.mk. "prepare", which does "rpm -bp",
> > works with -s. But "all", which does "rpm -ba", doesn't.
> 
> Ah, that sounds hairy enough; rpm presumably setting some "don't
> be quiet" option or envvar that overrides -s.  But since a
> simple makefile doing gcc_update works fine with -s but not
> without (GNU make), I think adding -s would help other cases
> (like mine ;-).  Or do you mean that it *breaks* your build but
> it works without -s?
> 

I can't reproduce it now. -s works fine for me. I checked it in.


H.J.
---
2002-07-16  H.J. Lu <hjl@gnu.org>

	* gcc_update (touch_files): Pass -s to ${MAKE}.

--- contrib/gcc_update.sleep	Fri Nov  9 06:56:04 2001
+++ contrib/gcc_update	Sat Jun 29 23:55:31 2002
@@ -120,7 +120,7 @@ touch_files () {
     echo '	echo Touching $@... 1>&2; \' >> Makefile.$$
     echo '	touch $@' >> Makefile.$$
     files_and_dependencies | sed 's,[^ ]* ,,;s,$, :,' >> Makefile.$$
-    while ${MAKE-make} -f Makefile.$$ all | grep . > /dev/null; do
+    while ${MAKE-make} -s -f Makefile.$$ all | grep . > /dev/null; do
       sleep 1
     done 2>&1
     rm -f Makefile.$$

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-16 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020716143029.B26925@lucon.org>
     [not found] ` <Pine.BSF.4.30.0207161732520.67645-100000@dair.pair.com>
2002-07-16 15:24   ` "./contrib/gcc_update --touch" doesn't work with make H. J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).