mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h on big endian.
This commit is contained in:
parent
81188246fa
commit
7f9eb6eda3
3 changed files with 8 additions and 4 deletions
|
@ -1523,7 +1523,9 @@ AC_SUBST(UNIVERSAL_ARCH_FLAGS)
|
|||
# tweak BASECFLAGS based on compiler and platform
|
||||
case $GCC in
|
||||
yes)
|
||||
CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
|
||||
# GNU dialect of C99, enables GNU extensions like __attribute__. GNU99
|
||||
# is required by bluetooth.h on big endian machines.
|
||||
CFLAGS_NODIST="$CFLAGS_NODIST -std=gnu99"
|
||||
|
||||
# Python doesn't violate C99 aliasing rules, but older versions of
|
||||
# GCC produce warnings for legal Python code. Enable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue