From f3c6455fda4825a1212e4b808311ad9f94ad17a8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 28 Jan 1994 18:02:43 +0000 Subject: [PATCH] * Makefile.in (check): Don't bother running any tests of cross-linker until the test suite no longer assumes native mode. --- ld/ChangeLog | 5 +++++ ld/Makefile.in | 13 +++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index e43ab55a75b..83a3ea843af 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (check): Don't bother running any tests of + cross-linker until the test suite no longer assumes native mode. + Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com) * ldlang.c (print_one_symbol, print_input_section): Print diff --git a/ld/Makefile.in b/ld/Makefile.in index 7e72a672ba2..c61bcf210bb 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -424,10 +424,15 @@ site.exp: ./config.status Makefile -@rm -f ./tmp? check: ld.new site.exp - $(RUNTEST) --tool ld \ - --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \ - CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \ - CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)" + @if [ $(host_canonical) = $(target_canonical) ]; then \ + $(RUNTEST) --tool ld \ + --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \ + CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \ + CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)" ;\ + if [ $$? != 0 ]; then exit 1; else true; fi ;\ + else \ + echo No cross-linker tests yet. ;\ + fi installcheck: .PHONY: check installcheck -- 2.30.2