summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-22 18:22:01 (GMT)
committerGitHub <noreply@github.com>2021-10-22 18:22:01 (GMT)
commit19903085c3ad7a17c8047e1556c700f2eb109931 (patch)
treec48933d3683092308999c015b1e5421103172a06 /Modules/makesetup
parentae78ffdc9399802621eabcd1668e44a91ec5f45e (diff)
downloadcpython-19903085c3ad7a17c8047e1556c700f2eb109931.zip
cpython-19903085c3ad7a17c8047e1556c700f2eb109931.tar.gz
cpython-19903085c3ad7a17c8047e1556c700f2eb109931.tar.bz2
bpo-45571: use PY_CFLAGS_NODIST for shared Modules/Setup (GH-29161)
(cherry picked from commit f6e8b80d20159596cf641305bad3a833bedd2f4f) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-xModules/makesetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index fefe3fd..1a76783 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -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