This is the mail archive of the gcc-patches@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]

Patch: avoid abort when the check of a module fails


Hi,

If I want to make a complete bootstrap and check (that means with all
available languages), 'make check' can abort while checking one of the
support libraries. Currently I use the patch below to avoid this. The same
is already done in gcc/Makefile.

Bootstrapped and regression tested on i686-linux and m68k-linux.

bye, Roman

2001-07-24  Roman Zippel  <zippel@linux-m68k.org>

	* Makefile.in: avoid abort when the check of a module fails

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/Makefile.in,v
retrieving revision 1.85
diff -u -r1.85 Makefile.in
--- Makefile.in	2001/08/11 09:43:31	1.85
+++ Makefile.in	2001/08/22 15:50:40
@@ -1377,7 +1377,7 @@
 # To build a target install-X means to cd to X and make install.
 .PHONY: $(CHECK_TARGET_MODULES)
 $(CHECK_TARGET_MODULES):
-	@dir=`echo $@ | sed -e 's/check-target-//'`; \
+	-@dir=`echo $@ | sed -e 's/check-target-//'`; \
 	if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
 	  r=`pwd`; export r; \
 	  s=`cd $(srcdir); pwd`; export s; \




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