diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 16:34:00 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 16:34:00 +0000 |
commit | f44e3dd1108813524120827780a45f23196a4802 (patch) | |
tree | e16fbabe8bb8dfe6812a509c329d1ecd79bb1c0a /libjava/configure.host | |
parent | 27d3c04fe0a482189f9826ea73e8019f044afd16 (diff) | |
download | gcc-f44e3dd1108813524120827780a45f23196a4802.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150702 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.host')
-rw-r--r-- | libjava/configure.host | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host index 79ce4d68d95..1d1b7085e11 100644 --- a/libjava/configure.host +++ b/libjava/configure.host @@ -69,6 +69,7 @@ DIVIDESPEC=-fuse-divide-subroutine EXCEPTIONSPEC=-fnon-call-exceptions CHECKREFSPEC= BACKTRACESPEC= +ATOMICSPEC= # This case statement supports per-CPU defaults. case "${host}" in @@ -87,6 +88,11 @@ case "${host}" in libgcj_interpreter=yes sysdeps_dir=arm fallback_backtrace_h=sysdep/arm/backtrace.h + libgcj_cxxflags=-Wno-abi + ATOMICSPEC=-fuse-atomic-builtins + # Work around a strange libtool feature that causes libraries + # to be linked with libgcc_s but not libgcc. + LDFLAGS="${LDFLAGS} -Wl,-lgcc" ;; mips-tx39-*|mipstx39-unknown-*) libgcj_flags="${libgcj_flags} -G 0" |