jvmti.exp (gcj_jvmti_compile_cxx_to_o): Add -pthread on alpha*-dec-osf*.
* testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Add -pthread on alpha*-dec-osf*. * testsuite/libjava.jvmti/jvmti-interp.exp (gcj_jni_compile_c_to_so): Likewise. From-SVN: r166476
This commit is contained in:
parent
4260533a50
commit
a1dd4c4031
@ -1,3 +1,10 @@
|
|||||||
|
2010-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
|
* testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o):
|
||||||
|
Add -pthread on alpha*-dec-osf*.
|
||||||
|
* testsuite/libjava.jvmti/jvmti-interp.exp
|
||||||
|
(gcj_jni_compile_c_to_so): Likewise.
|
||||||
|
|
||||||
2010-10-12 Andrew John Hughes <ahughes@redhat.com>
|
2010-10-12 Andrew John Hughes <ahughes@redhat.com>
|
||||||
|
|
||||||
Import GNU Classpath (libgcj-snapshot-20100921).
|
Import GNU Classpath (libgcj-snapshot-20100921).
|
||||||
|
@ -37,6 +37,10 @@ proc gcj_jni_compile_c_to_so {file {options {}}} {
|
|||||||
if { [istarget "arm*"] } {
|
if { [istarget "arm*"] } {
|
||||||
lappend options "additional_flags=-Wno-abi"
|
lappend options "additional_flags=-Wno-abi"
|
||||||
}
|
}
|
||||||
|
# Tru64 UNIX requires <pthread.h> to be compiled with -pthread.
|
||||||
|
if { [istarget "alpha*-dec-osf*"] } {
|
||||||
|
lappend options "additional_flags=-pthread"
|
||||||
|
}
|
||||||
|
|
||||||
set filename [file tail $file]
|
set filename [file tail $file]
|
||||||
set name [file rootname $filename]
|
set name [file rootname $filename]
|
||||||
|
@ -20,6 +20,10 @@ proc gcj_jvmti_compile_cxx_to_o {file {options {}}} {
|
|||||||
if { [istarget "arm*"] } {
|
if { [istarget "arm*"] } {
|
||||||
lappend options "additional_flags=-Wno-abi"
|
lappend options "additional_flags=-Wno-abi"
|
||||||
}
|
}
|
||||||
|
# Tru64 UNIX requires <pthread.h> to be compiled with -pthread.
|
||||||
|
if { [istarget "alpha*-dec-osf*"] } {
|
||||||
|
lappend options "additional_flags=-pthread"
|
||||||
|
}
|
||||||
|
|
||||||
set x [libjava_prune_warnings \
|
set x [libjava_prune_warnings \
|
||||||
[target_compile $file $oname object $options]]
|
[target_compile $file $oname object $options]]
|
||||||
|
Loading…
Reference in New Issue
Block a user