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
This commit is contained in:
committed by
Andrew Haley
parent
2c7c6f5439
commit
e0898f4ced
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user