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
|
@ -165,6 +165,11 @@ proc gcj_jni_test_one {file} {
|
|||
lappend cxxflaglist "-lstdc++"
|
||||
}
|
||||
|
||||
# ARM C++ emits an ABI warning for varargs.
|
||||
if { [istarget "arm*"] } {
|
||||
lappend cxxflaglist "-Wno-abi"
|
||||
}
|
||||
|
||||
set cxxflags [join $cxxflaglist]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue