aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.host
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2007-07-02 14:48:28 +0000
committerRainer Orth <ro@gcc.gnu.org>2007-07-02 14:48:28 +0000
commita3b7729c66c3defccbed94534a7af6cd85d70efa (patch)
tree5f26e56ec5fe9a7cf3b5e28240bfec5f37d08e91 /libjava/configure.host
parent28c67ed737e3f46d034e0b9e50d7e51f3f72d1d9 (diff)
downloadgcc-a3b7729c66c3defccbed94534a7af6cd85d70efa.zip
gcc-a3b7729c66c3defccbed94534a7af6cd85d70efa.tar.gz
gcc-a3b7729c66c3defccbed94534a7af6cd85d70efa.tar.bz2
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
Diffstat (limited to 'libjava/configure.host')
-rw-r--r--libjava/configure.host3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host
index edaa679..cb07652 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=