summaryrefslogtreecommitdiff
path: root/libjava/configure.host
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-27 21:46:15 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-27 21:46:15 +0000
commit8ab9cbcc0753e0f5c0b1ed94d9f7d12b78d2b83a (patch)
treecc2a10bedf005955d32e29d096cd5baff68d2ba8 /libjava/configure.host
parent87d210c34104f0f5944dd5b6f46b7fda0b8223b0 (diff)
downloadgcc-8ab9cbcc0753e0f5c0b1ed94d9f7d12b78d2b83a.tar.gz
2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
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
Diffstat (limited to 'libjava/configure.host')
-rw-r--r--libjava/configure.host4
1 files changed, 4 insertions, 0 deletions
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-*)