From 8ab9cbcc0753e0f5c0b1ed94d9f7d12b78d2b83a Mon Sep 17 00:00:00 2001 From: andreast Date: Sat, 27 Jan 2007 21:46:15 +0000 Subject: 2007-01-27 Andreas Tobler PR libgcj/30513 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to libgcj_flags to undefine 'sun' at compile time. * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit Sparc. (write_barrier): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121239 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/configure.host | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libjava/configure.host') diff --git a/libjava/configure.host b/libjava/configure.host index e19a61a147e..edaa679b44e 100644 --- a/libjava/configure.host +++ b/libjava/configure.host @@ -159,6 +159,10 @@ case "${host}" in enable_hash_synchronization_default=yes ;; sparc*-*) + sysdeps_dir=sparc + # On Solaris we have defined 'sun' which later conflicts with + # namespace usage. So to work this away we use the below undefine. + libgcj_flags="${libgcj_flags} -Usun" libgcj_interpreter=yes ;; ia64-*) -- cgit v1.2.1