mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessor
directives, which is the role of CPPFLAGS. Closes SF patch #414991.
This commit is contained in:
parent
f4b33f61fb
commit
89e90d67aa
7 changed files with 19 additions and 12 deletions
|
@ -216,7 +216,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
|||
*) src='$(srcdir)/'"$srcdir/$src";;
|
||||
esac
|
||||
case $doconfig in
|
||||
no) cc="$cc \$(CCSHARED) \$(CFLAGS)";;
|
||||
no) cc="$cc \$(CCSHARED) \$(CFLAGS) \$(CPPFLAGS)";;
|
||||
*)
|
||||
cc="$cc \$(PY_CFLAGS)";;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue