summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorxdegaye <xdegaye@gmail.com>2018-04-20 15:03:49 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2018-04-20 15:03:49 (GMT)
commit063db62aab4041ac47798e7e48b27b2f2bef21c5 (patch)
tree812aed5e501eac17d1555bd02adde4804d6a4173 /Modules/makesetup
parentd70c2a6894d80410b6f5a3129d6b1062ea8fd4e4 (diff)
downloadcpython-063db62aab4041ac47798e7e48b27b2f2bef21c5.zip
cpython-063db62aab4041ac47798e7e48b27b2f2bef21c5.tar.gz
cpython-063db62aab4041ac47798e7e48b27b2f2bef21c5.tar.bz2
bpo-32232: by default, Setup modules are no longer built with -DPy_BUILD_CORE (GH-6489)
Setup modules are no longer built with -DPy_BUILD_CORE by default, as using that flag may now require including additional internal-only header files. Instead, only the modules that specifically need it use that setting.
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 31faf86..020b199 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -233,7 +233,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
case $doconfig in
no) cc="$cc \$(CCSHARED) \$(PY_CFLAGS) \$(PY_CPPFLAGS)";;
*)
- cc="$cc \$(PY_CORE_CFLAGS)";;
+ cc="$cc \$(PY_STDMODULE_CFLAGS)";;
esac
rule="$obj: $src; $cc $cpps -c $src -o $obj"
echo "$rule" >>$rulesf