summaryrefslogtreecommitdiffstats
path: root/libgo/configure
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-25 19:36:12 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-04-25 19:36:12 +0000
commite0519e0586e490e64776a9a0e51cfca5e1e6540a (patch)
tree8c44faa207647f4f8db0f245add06c9ed21e26f5 /libgo/configure
parentcdd0bb4bde4f6885045e65860de0320ccf6b23f6 (diff)
downloadppe42-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-xlibgo/configure9
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).
OpenPOWER on IntegriCloud