diff options
Diffstat (limited to 'libjava/testsuite/libjava.jvmti/jvmti.exp')
-rw-r--r-- | libjava/testsuite/libjava.jvmti/jvmti.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.jvmti/jvmti.exp b/libjava/testsuite/libjava.jvmti/jvmti.exp index 578eeb1ef3f..571952e807c 100644 --- a/libjava/testsuite/libjava.jvmti/jvmti.exp +++ b/libjava/testsuite/libjava.jvmti/jvmti.exp @@ -16,6 +16,10 @@ proc gcj_jvmti_compile_cxx_to_o {file {options {}}} { lappend options "additional_flags=-I$srcdir/.." # Find jvmti.h, jvmti_md.h, jvmti-int.h, jvm.h requirements lappend options "additional_flags=-I$srcdir/../include -I$srcdir/../classpath/include -I$objdir/../include -I$objdir/../../boehm-gc/include " + # ARM C++ emits an ABI warning for varargs. + if { [istarget "arm*"] } { + lappend options "additional_flags=-Wno-abi" + } set x [libjava_prune_warnings \ [target_compile $file $oname object $options]] |