-lestdc++, will fix a handful of tests.

This commit is contained in:
espie 2003-06-28 09:57:05 +00:00
parent 327d3a4380
commit 66f1b0c1b1
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gcc_testsuite_g++_old-deja_old-deja_exp,v 1.1 2003/06/28 09:57:05 espie Exp $
--- gcc/testsuite/g++.old-deja/old-deja.exp.orig Sat Jun 28 11:44:23 2003
+++ gcc/testsuite/g++.old-deja/old-deja.exp Sat Jun 28 11:44:31 2003
@@ -52,7 +52,7 @@ foreach file [lsort [find $srcdir/$subdi
# We don't want old-dejagnu.exp to have to know about all the global
# variables we use. For now we tell it about CXXFLAGS and LIBS and
# leave LDFLAGS alone.
- old-dejagnu $GXX_UNDER_TEST "$file" "$tfile" "" "$DEFAULT_CXXFLAGS" "-lstdc++"
+ old-dejagnu $GXX_UNDER_TEST "$file" "$tfile" "" "$DEFAULT_CXXFLAGS" "-lestdc++"
}
# The framework doesn't like to see any error remnants,

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-gcc_testsuite_lib_mike-g++_exp,v 1.1 2003/06/28 09:57:05 espie Exp $
--- gcc/testsuite/lib/mike-g++.exp.orig Sat Jun 28 11:45:09 2003
+++ gcc/testsuite/lib/mike-g++.exp Sat Jun 28 11:45:22 2003
@@ -136,9 +136,9 @@ proc postbase { src_code run groups arg
}
if ![ishost "*-dos-*"] {
- lappend options "libs=-lstdc++ -lg++"
+ lappend options "libs=-lestdc++ -lg++"
} else {
- lappend options "libs=-lstdcxx -lgxx"
+ lappend options "libs=-lestdcxx -lgxx"
}
set comp_output [g++_target_compile $src_file $output_file $compile_type $options]