diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-09 09:38:23 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-09 09:38:23 +0000 |
commit | 92ebf9fce83e3ee63675241b5aa040d8dba4228e (patch) | |
tree | 4553be3337eb7e9362e034bb0459620ccd6fec3a | |
parent | fe222679c99111ce4c0056ec94616a2f26943f49 (diff) | |
download | gcc-92ebf9fce83e3ee63675241b5aa040d8dba4228e.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166476 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libjava/ChangeLog | 7 | ||||
-rw-r--r-- | libjava/testsuite/libjava.jvmti/jvmti-interp.exp | 4 | ||||
-rw-r--r-- | libjava/testsuite/libjava.jvmti/jvmti.exp | 4 |
3 files changed, 15 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 15233609890..345e6da7998 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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> Import GNU Classpath (libgcj-snapshot-20100921). diff --git a/libjava/testsuite/libjava.jvmti/jvmti-interp.exp b/libjava/testsuite/libjava.jvmti/jvmti-interp.exp index 62c82e92afc..fd660f35164 100644 --- a/libjava/testsuite/libjava.jvmti/jvmti-interp.exp +++ b/libjava/testsuite/libjava.jvmti/jvmti-interp.exp @@ -37,6 +37,10 @@ proc gcj_jni_compile_c_to_so {file {options {}}} { if { [istarget "arm*"] } { 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 name [file rootname $filename] diff --git a/libjava/testsuite/libjava.jvmti/jvmti.exp b/libjava/testsuite/libjava.jvmti/jvmti.exp index 571952e807c..2d939852e5e 100644 --- a/libjava/testsuite/libjava.jvmti/jvmti.exp +++ b/libjava/testsuite/libjava.jvmti/jvmti.exp @@ -20,6 +20,10 @@ proc gcj_jvmti_compile_cxx_to_o {file {options {}}} { if { [istarget "arm*"] } { 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 \ [target_compile $file $oname object $options]] |