Skip to content

Commit d170256

Browse files
committed
put -std=c99 in CFLAGS_NODIST
1 parent 7490577 commit d170256

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
67156713
case $GCC in
67166714
yes)
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

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
14791477
case $GCC in
14801478
yes)
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

0 commit comments

Comments
 (0)