diff options
Diffstat (limited to 'libctf/Makefile.in')
-rw-r--r-- | libctf/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libctf/Makefile.in b/libctf/Makefile.in index c6cb55c..3d2696b 100644 --- a/libctf/Makefile.in +++ b/libctf/Makefile.in @@ -1678,10 +1678,15 @@ check-DEJAGNU: site.exp development.exp r=`pwd`; export r; \ LC_ALL=C; export LC_ALL; \ EXPECT=$(EXPECT); export EXPECT; \ + if [ "@host@" = "@target@" ] ; then \ + TEST_CROSS=no; \ + else \ + TEST_CROSS=yes; \ + fi; \ runtest=$(RUNTEST); \ if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ - CC="$(CC)" CC_FOR_TARGET="$(CC_FOR_TARGET)" \ + CC="$(CC)" CC_FOR_TARGET="$(CC_FOR_TARGET)" TEST_CROSS="$${TEST_CROSS}" \ CFLAGS="$(CFLAGS) -I$(INCDIR) -I$(srcdir) -I$(builddir) -I$(builddir)/../bfd $(ZLIBINC)" \ LIBS="$(libctf_nobfd_la_LIBADD) $(LIBS)" $(RUNTESTFLAGS); \ else echo "WARNING: could not find \`runtest'" 1>&2; :;\ |