From: Peter Maydell Date: Mon, 20 Dec 2010 21:13:32 +0000 (+0000) Subject: Suppress tsort diagnostic waffle X-Git-Tag: mmh-start~4 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=464b0345e434044712dffa4d72e72d36316d2b7c;ds=sidebyside Suppress tsort diagnostic waffle tsort produces waffle to standard error if it detects loops in its input. For our purposes in ordering object files this is harmless, so just send it all to /dev/null. Signed-off-by: Peter Maydell --- diff --git a/mts/Makefile.in b/mts/Makefile.in index 821caa8..dd2a18f 100644 --- a/mts/Makefile.in +++ b/mts/Makefile.in @@ -51,7 +51,7 @@ libmts.a: $(OBJS) if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \ $(LIBTOOL) -static -c $(OBJS) -o $@ ; \ else \ - ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \ + ar cr $@ `$(LORDER) $(OBJS) | $(TSORT) 2>/dev/null` ; \ $(RANLIB) $@ ; \ fi diff --git a/sbr/Makefile.in b/sbr/Makefile.in index e2f8cb4..581cc6d 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -118,7 +118,7 @@ libmh.a: $(OBJS) if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \ $(LIBTOOL) -static -c -o libmh.a $(OBJS) ; \ else \ - ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT)` ; \ + ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT) 2>/dev/null` ; \ $(RANLIB) libmh.a ; \ fi