diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-22 20:39:29 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-22 20:39:29 +0000 |
commit | ed845d9d6d471baa1a22124a5465dfa9d9c4801a (patch) | |
tree | 9d08f5b05e0ebab9f854d748db48d43eb6c6deb0 /libgo/configure | |
parent | 4ca5a717e561d8bc135d4b21df605305dcbe495e (diff) | |
download | gcc-ed845d9d6d471baa1a22124a5465dfa9d9c4801a.tar.gz |
libgo: Use -std=gnu99 on Solaris 10.
From Rainer Orth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182637 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/configure b/libgo/configure index d9915f91afc..c1ee7bac082 100755 --- a/libgo/configure +++ b/libgo/configure @@ -13818,9 +13818,9 @@ case "$target" in ;; *-*-solaris2.1[01]) # Solaris 10+ needs this so struct msghdr gets the msg_control - # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=500 as + # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as # above doesn't work with C99. - OSCFLAGS="$OSCFLAGS -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" + OSCFLAGS="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__" ;; esac |