This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "./contrib/gcc_update --touch" doesn't work with make


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]