mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
2c7c6f5439
commit
e0898f4ced
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2008-03-03 Matthias Klose <doko@ubuntu.com>
|
||||||
|
|
||||||
* classpath/tools/classes/gnu/classpath/tools/orbd/Main.class,
|
* classpath/tools/classes/gnu/classpath/tools/orbd/Main.class,
|
||||||
|
|
|
||||||
|
|
@ -380,7 +380,7 @@ proc libjava_arguments {{mode compile}} {
|
||||||
global wrapper_file wrap_compile_flags
|
global wrapper_file wrap_compile_flags
|
||||||
lappend args "additional_flags=$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"
|
lappend args "additional_flags=-specs=libgcj-test.spec"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue