Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d1702565
Commit
d1702565
authored
Sep 07, 2016
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put -std=c99 in CFLAGS_NODIST
parent
7490577f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
configure
configure
+2
-2
configure.ac
configure.ac
+2
-2
No files found.
configure
View file @
d1702565
...
...
@@ -6694,8 +6694,6 @@ then
SCO_SV
*
)
OPT
=
"
$OPT
-m486 -DSCO5"
;;
esac
OPT
=
"
$OPT
-std=c99"
;;
*
)
...
...
@@ -6714,6 +6712,8 @@ UNIVERSAL_ARCH_FLAGS=
# tweak BASECFLAGS based on compiler and platform
case
$GCC
in
yes
)
CFLAGS_NODIST
=
"
$CFLAGS_NODIST
-std=c99"
# Python doesn't violate C99 aliasing rules, but older versions of
# GCC produce warnings for legal Python code. Enable
# -fno-strict-aliasing on versions of GCC that support but produce
...
...
configure.ac
View file @
d1702565
...
...
@@ -1458,8 +1458,6 @@ then
SCO_SV*) OPT="$OPT -m486 -DSCO5"
;;
esac
OPT="$OPT -std=c99"
;;
*)
...
...
@@ -1478,6 +1476,8 @@ AC_SUBST(UNIVERSAL_ARCH_FLAGS)
# tweak BASECFLAGS based on compiler and platform
case $GCC in
yes)
CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
# Python doesn't violate C99 aliasing rules, but older versions of
# GCC produce warnings for legal Python code. Enable
# -fno-strict-aliasing on versions of GCC that support but produce
...
...
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