locks.h: Use atomic builtins For Linux EABI.
2009-08-12 Andrew Haley <aph@redhat.com> * sysdep/arm/locks.h: Use atomic builtins For Linux EABI. * configure.ac: Add ATOMICSPEC. * libgcj.spec.in: Likewise. * configure.host (arm*-linux*): Add -Wno-abi to cxxflags. (testsuite/libjava.jvmti/jvmti-interp.exp): Likewise. (testsuite/libjava.jvmti/jvmti.exp): Likewise. (testsuite/libjava.jni/jni.exp): Likewise. Set ATOMICSPEC. Set LDFLAGS to work around libtool feature. From-SVN: r150702
This commit is contained in:
parent
b2a58473d7
commit
e8e76230ed
9 changed files with 94 additions and 5 deletions
|
@ -32,7 +32,12 @@ proc gcj_jni_compile_c_to_so {file {options {}}} {
|
|||
set so_extension "so"
|
||||
set so_flag "-shared"
|
||||
}
|
||||
|
||||
|
||||
# ARM C++ emits an ABI warning for varargs.
|
||||
if { [istarget "arm*"] } {
|
||||
lappend options "additional_flags=-Wno-abi"
|
||||
}
|
||||
|
||||
set filename [file tail $file]
|
||||
set name [file rootname $filename]
|
||||
set soname lib${name}.${so_extension}
|
||||
|
|
|
@ -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]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue