Commit e0898f4c by Andrew Haley Committed by Andrew Haley

libjava.exp (libjava_arguments): Use regexp instead of string match when…

libjava.exp (libjava_arguments): Use regexp instead of string match when checking for linux targets.

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.

From-SVN: r132862
parent 2c7c6f54
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,
......
......@@ -380,7 +380,7 @@ proc libjava_arguments {{mode compile}} {
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"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment