aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.host
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.org>2007-01-27 21:46:15 +0000
committerAndreas Tobler <andreast@gcc.gnu.org>2007-01-27 22:46:15 +0100
commit4838bfc05bf7b35b1e07a57a0878df308655d6d8 (patch)
treecc2a10bedf005955d32e29d096cd5baff68d2ba8 /libjava/configure.host
parent024abeb327c16c7197cf979fb252fadca61386a2 (diff)
downloadgcc-4838bfc05bf7b35b1e07a57a0878df308655d6d8.zip
gcc-4838bfc05bf7b35b1e07a57a0878df308655d6d8.tar.gz
gcc-4838bfc05bf7b35b1e07a57a0878df308655d6d8.tar.bz2
re PR libgcj/30513 (Bootstrap failure with libgcj on sparc-sun-solaris2.10)
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. From-SVN: r121239
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 e19a61a..edaa679 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-*)