diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-25 19:36:12 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-25 19:36:12 +0000 |
commit | e0519e0586e490e64776a9a0e51cfca5e1e6540a (patch) | |
tree | 8c44faa207647f4f8db0f245add06c9ed21e26f5 /libgo/configure | |
parent | cdd0bb4bde4f6885045e65860de0320ccf6b23f6 (diff) | |
download | ppe42-gcc-e0519e0586e490e64776a9a0e51cfca5e1e6540a.tar.gz ppe42-gcc-e0519e0586e490e64776a9a0e51cfca5e1e6540a.zip |
libgo: Irix 6 patches.
From Rainer Orth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libgo/configure b/libgo/configure index 611103fc4b5..565bc89a341 100755 --- a/libgo/configure +++ b/libgo/configure @@ -13295,7 +13295,7 @@ is_386=no is_alpha=no is_arm=no is_m68k=no -mips_abi="" +mips_abi=unknown is_ppc=no is_ppc64=no is_sparc=no @@ -13466,7 +13466,7 @@ else LIBGO_IS_M68K_FALSE= fi - if test $mips_abi != ""; then + if test $mips_abi != unknown; then LIBGO_IS_MIPS_TRUE= LIBGO_IS_MIPS_FALSE='#' else @@ -13561,6 +13561,11 @@ fi case "$target" in + mips-sgi-irix6.5*) + # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct + # msghdr in <sys/socket.h>. + OSCFLAGS='-D_XOPEN_SOURCE=500' + ;; *-*-solaris2.[89]) # Solaris 8/9 need this so struct msghdr gets the msg_control # etc. fields in <sys/socket.h> (_XPG4_2). |