From 464b0345e434044712dffa4d72e72d36316d2b7c Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 20 Dec 2010 21:13:32 +0000 Subject: [PATCH] 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 --- mts/Makefile.in | 2 +- sbr/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4