* 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