From a1dd4c40316e183fd1f258e8959643a97289ea96 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 9 Nov 2010 09:38:23 +0000 Subject: 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 --- libjava/ChangeLog | 7 +++++++ libjava/testsuite/libjava.jvmti/jvmti-interp.exp | 4 ++++ libjava/testsuite/libjava.jvmti/jvmti.exp | 4 ++++ 3 files changed, 15 insertions(+) (limited to 'libjava') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 1523360..345e6da 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2010-11-09 Rainer Orth + + * 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 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 62c82e9..fd660f3 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 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 571952e..2d93985 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 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]] -- cgit v1.1