mirror of https://github.com/python/cpython
bpo-45571: use PY_CFLAGS_NODIST for shared Modules/Setup (GH-29161)
This commit is contained in:
parent
ec93721e00
commit
f6e8b80d20
|
@ -0,0 +1,2 @@
|
|||
``Modules/Setup`` now use ``PY_CFLAGS_NODIST`` instead of ``PY_CFLAGS`` to
|
||||
compile shared modules.
|
|
@ -231,7 +231,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
|||
*) src='$(srcdir)/'"$srcdir/$src";;
|
||||
esac
|
||||
case $doconfig in
|
||||
no) cc="$cc \$(CCSHARED) \$(PY_CFLAGS) \$(PY_CPPFLAGS)";;
|
||||
no) cc="$cc \$(CCSHARED) \$(PY_CFLAGS_NODIST) \$(PY_CPPFLAGS)";;
|
||||
*)
|
||||
cc="$cc \$(PY_BUILTIN_MODULE_CFLAGS)";;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue