File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6694,8 +6694,6 @@ then
66946694 SCO_SV* ) OPT=" $OPT -m486 -DSCO5"
66956695 ;;
66966696 esac
6697-
6698- OPT=" $OPT -std=c99"
66996697 ;;
67006698
67016699 * )
@@ -6714,6 +6712,8 @@ UNIVERSAL_ARCH_FLAGS=
67146712# tweak BASECFLAGS based on compiler and platform
67156713case $GCC in
67166714yes)
6715+ CFLAGS_NODIST=" $CFLAGS_NODIST -std=c99"
6716+
67176717 # Python doesn't violate C99 aliasing rules, but older versions of
67186718 # GCC produce warnings for legal Python code. Enable
67196719 # -fno-strict-aliasing on versions of GCC that support but produce
Original file line number Diff line number Diff line change @@ -1458,8 +1458,6 @@ then
14581458 SCO_SV*) OPT="$OPT -m486 -DSCO5"
14591459 ;;
14601460 esac
1461-
1462- OPT="$OPT -std=c99"
14631461 ;;
14641462
14651463 *)
@@ -1478,6 +1476,8 @@ AC_SUBST(UNIVERSAL_ARCH_FLAGS)
14781476# tweak BASECFLAGS based on compiler and platform
14791477case $GCC in
14801478yes)
1479+ CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
1480+
14811481 # Python doesn't violate C99 aliasing rules, but older versions of
14821482 # GCC produce warnings for legal Python code. Enable
14831483 # -fno-strict-aliasing on versions of GCC that support but produce
You can’t perform that action at this time.
0 commit comments