summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-22 18:29:52 (GMT)
committerGitHub <noreply@github.com>2021-10-22 18:29:52 (GMT)
commit269bf56e3d352c415ec38f93017ba8e291ddb18a (patch)
treea4b27287ea384233894f71c6d51bd7c6cb2018c3 /Modules/makesetup
parentaa8c3446c085175e65e736b0d2e32719c00004d2 (diff)
downloadcpython-269bf56e3d352c415ec38f93017ba8e291ddb18a.zip
cpython-269bf56e3d352c415ec38f93017ba8e291ddb18a.tar.gz
cpython-269bf56e3d352c415ec38f93017ba8e291ddb18a.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