aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJeffrey Wheat <cassidy@cygnus>1993-09-10 17:00:19 +0000
committerJeffrey Wheat <cassidy@cygnus>1993-09-10 17:00:19 +0000
commit67d96949332e54ea147a073a1207de125e6f05f4 (patch)
treeb206f6fabfcf03eacf5eb1150240b54db558dd78 /ld
parent108f145ba43e1278767e5643811bc15c66a6948c (diff)
downloadfsf-binutils-gdb-67d96949332e54ea147a073a1207de125e6f05f4.zip
fsf-binutils-gdb-67d96949332e54ea147a073a1207de125e6f05f4.tar.gz
fsf-binutils-gdb-67d96949332e54ea147a073a1207de125e6f05f4.tar.bz2
Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld.cdtest/cdtest.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld.cdtest/cdtest.exp b/ld/testsuite/ld.cdtest/cdtest.exp
index b6535c4..127e184 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