aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-01-28 18:02:43 +0000
committerKen Raeburn <raeburn@cygnus>1994-01-28 18:02:43 +0000
commitf3c6455fda4825a1212e4b808311ad9f94ad17a8 (patch)
tree3d7c192e8beee900ba778ef1eaf5ca1d23eb4adf /ld/Makefile.in
parente2f9f0f6393a7c79f3932624feab6033849a36ea (diff)
downloadgdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.zip
gdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.tar.gz
gdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.tar.bz2
* Makefile.in (check): Don't bother running any tests of
cross-linker until the test suite no longer assumes native mode.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 7e72a67..c61bcf2 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