From a3b7729c66c3defccbed94534a7af6cd85d70efa Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 2 Jul 2007 14:48:28 +0000 Subject: [PATCH] re PR libgcj/30513 (Bootstrap failure with libgcj on sparc-sun-solaris2.10) PR libgcj/30513 * configure.host (i[3-6]86-*): Undef sun. From-SVN: r126210 --- libjava/ChangeLog | 5 +++++ libjava/configure.host | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 00e67ec1ae5..a7850682f5a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2007-07-02 Rainer Orth + + PR libgcj/30513 + * configure.host (i[3-6]86-*): Undef sun. + 2007-06-28 H.J. Lu * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): diff --git a/libjava/configure.host b/libjava/configure.host index edaa679b44e..cb076528e74 100644 --- a/libjava/configure.host +++ b/libjava/configure.host @@ -101,6 +101,9 @@ case "${host}" in # the .text section of libgcj.so is 30k larger, and the .eh_frame # section is 1.4M smaller. libgcj_flags="${libgcj_flags} -ffloat-store -fomit-frame-pointer" + # 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 libgcj_cxxflags= libgcj_cflags= -- 2.30.2