summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-07 19:00:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-07 19:00:06 (GMT)
commitd1702565855318d4c1984e997d973fc8d2f8a154 (patch)
treef22478f9186ed557348353e5db6a0ffd4ec47643
parent7490577f6a7debf35bd13adf0f00fa9b272e8f8c (diff)
downloadcpython-d1702565855318d4c1984e997d973fc8d2f8a154.zip
cpython-d1702565855318d4c1984e997d973fc8d2f8a154.tar.gz
cpython-d1702565855318d4c1984e997d973fc8d2f8a154.tar.bz2
put -std=c99 in CFLAGS_NODIST
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 121cf6a..94a7435 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.ac b/configure.ac
index 3f72369..cd598f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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