re PR libgcj/30513 (Bootstrap failure with libgcj on sparc-sun-solaris2.10)
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 2 Jul 2007 14:48:28 +0000 (14:48 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 2 Jul 2007 14:48:28 +0000 (14:48 +0000)
PR libgcj/30513
* configure.host (i[3-6]86-*): Undef sun.

From-SVN: r126210

libjava/ChangeLog
libjava/configure.host

index 00e67ec1ae5a240f16de84a0dee6b6177d8f2466..a7850682f5a3f043691169c6ac0bbe2ee81af645 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       PR libgcj/30513
+       * configure.host (i[3-6]86-*): Undef sun.
+
 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
index edaa679b44e2d2ecd2ab99e71dc5b1196f78ab0b..cb076528e743a9203340acadc851671a34774663 100644 (file)
@@ -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=