summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-20 11:19:05 (GMT)
committerGitHub <noreply@github.com>2022-04-20 11:19:05 (GMT)
commitaaeea78b0f8f4c8dfab5cd4eb6fb4c5fe1ee21e2 (patch)
tree5e848883a588436415b5f08c8dc71da4592a77b3 /configure
parent4420faf273e9e2d03226a9375e1e04a336230c84 (diff)
downloadcpython-aaeea78b0f8f4c8dfab5cd4eb6fb4c5fe1ee21e2.zip
cpython-aaeea78b0f8f4c8dfab5cd4eb6fb4c5fe1ee21e2.tar.gz
cpython-aaeea78b0f8f4c8dfab5cd4eb6fb4c5fe1ee21e2.tar.bz2
gh-91731: Build Python with -std=c11 (#91733)
Python is now built with "-std=c11" compiler option, rather than "-std=c99".
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6549519..94adc6f 100755
--- a/configure
+++ b/configure
@@ -7871,7 +7871,7 @@ UNIVERSAL_ARCH_FLAGS=
# tweak BASECFLAGS based on compiler and platform
case $GCC in
yes)
- CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
+ CFLAGS_NODIST="$CFLAGS_NODIST -std=c11"