summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorE. M. Bray <erik.m.bray@gmail.com>2018-11-27 02:21:31 (GMT)
committerBenjamin Peterson <benjamin@python.org>2018-11-27 02:21:31 (GMT)
commitda324d53d420347344236ff64cf5eb9b675d6f86 (patch)
treeb72e2bbd3c4d4d54df83f92f6bf6fab3934c8feb /Makefile.pre.in
parentf2a9d5c8378cd7eca90b3b197e2cc0989da55014 (diff)
downloadcpython-da324d53d420347344236ff64cf5eb9b675d6f86.zip
cpython-da324d53d420347344236ff64cf5eb9b675d6f86.tar.gz
cpython-da324d53d420347344236ff64cf5eb9b675d6f86.tar.bz2
closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 2c92db2..17007ae 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -106,6 +106,7 @@ ARFLAGS= @ARFLAGS@
CFLAGSFORSHARED=@CFLAGSFORSHARED@
# C flags used for building the interpreter object files
PY_STDMODULE_CFLAGS= $(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) $(CFLAGSFORSHARED)
+PY_BUILTIN_MODULE_CFLAGS= $(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE_BUILTIN
PY_CORE_CFLAGS= $(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE
# Strict or non-strict aliasing flags used to compile dtoa.c, see above
CFLAGS_ALIASING=@CFLAGS_ALIASING@