aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorE. M. Bray <erik.m.bray@gmail.com>2018-11-27 03:21:31 +0100
committerBenjamin Peterson <benjamin@python.org>2018-11-26 20:21:31 -0600
commitda324d53d420347344236ff64cf5eb9b675d6f86 (patch)
treeb72e2bbd3c4d4d54df83f92f6bf6fab3934c8feb /Makefile.pre.in
parentbpo-35134: Create Include/cpython/pystate.h (GH-10733) (diff)
downloadcpython-da324d53d420347344236ff64cf5eb9b675d6f86.tar.gz
cpython-da324d53d420347344236ff64cf5eb9b675d6f86.tar.bz2
cpython-da324d53d420347344236ff64cf5eb9b675d6f86.zip
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 2c92db23489..17007aef562 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@