* testsuite/lib/libjava.exp (libjava_arguments): Use regexp
instead of string match when checking for linux targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132862
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-03-03 Andrew Haley <aph@littlepinkcloud.com>
+
+ * testsuite/lib/libjava.exp (libjava_arguments): Use regexp
+ instead of string match when checking for linux targets.
+
2008-03-03 Matthias Klose <doko@ubuntu.com>
* classpath/tools/classes/gnu/classpath/tools/orbd/Main.class,
global wrapper_file wrap_compile_flags
lappend args "additional_flags=$wrap_compile_flags"
- if { [string match "linux" $target_triplet] } {
+ if { [regexp "linux" $target_triplet] } {
lappend args "additional_flags=-specs=libgcj-test.spec"
}