mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-45571: use PY_CFLAGS_NODIST for shared Modules/Setup (GH-29161)
(cherry picked from commit f6e8b80d20
)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
ae78ffdc93
commit
19903085c3
2 changed files with 3 additions and 1 deletions
|
@ -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";;
|
*) src='$(srcdir)/'"$srcdir/$src";;
|
||||||
esac
|
esac
|
||||||
case $doconfig in
|
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)";;
|
cc="$cc \$(PY_BUILTIN_MODULE_CFLAGS)";;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue