Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
bbe847a1
Commit
bbe847a1
authored
Dec 22, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libgo: Use -std=gnu99 on Solaris 10.
From Rainer Orth. From-SVN: r182637
parent
ee777b71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
libgo/configure
+2
-2
libgo/configure.ac
+2
-2
No files found.
libgo/configure
View file @
bbe847a1
...
...
@@ -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=
5
00 as
# etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=
6
00 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
...
...
libgo/configure.ac
View file @
bbe847a1
...
...
@@ -292,9 +292,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=
5
00 as
# etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=
6
00 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
AC_SUBST(OSCFLAGS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment