From: Jeffrey Wheat Date: Fri, 10 Sep 1993 17:00:19 +0000 (+0000) Subject: Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67d96949332e54ea147a073a1207de125e6f05f4;p=binutils-gdb.git Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp --- diff --git a/ld/testsuite/ld.cdtest/cdtest.exp b/ld/testsuite/ld.cdtest/cdtest.exp index b6535c4783e..127e1845195 100644 --- a/ld/testsuite/ld.cdtest/cdtest.exp +++ b/ld/testsuite/ld.cdtest/cdtest.exp @@ -34,9 +34,9 @@ set objects "$tmpdir/cdtest-main.o $tmpdir/cdtest-func.o $tmpdir/cdtest-foo.o" verbose "### Compiling dependant objects\n" -ld_compile $CXX $srcdir/$subdir/cdtest-foo.cc $tmpdir/cdtest-foo.o -ld_compile $CXX $srcdir/$subdir/cdtest-func.cc $tmpdir/cdtest-func.o -ld_compile $CXX $srcdir/$subdir/cdtest-main.cc $tmpdir/cdtest-main.o +ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-foo.cc $tmpdir/cdtest-foo.o +ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-func.cc $tmpdir/cdtest-func.o +ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-main.cc $tmpdir/cdtest-main.o # # main test loop @@ -56,7 +56,7 @@ foreach test [glob -nocomplain $srcdir/$subdir/*.dat] { # load (execute) the target if ![file exists $tmptarget] then { - unresolved "$tmptarget doesn't exist." $result + unresolved "$tmptarget doesn't exist. $result" } else { catch "exec $tmptarget > $tmptarget.out" exec_output