@@ -104,33 +104,33 @@ PYTHONPATH=$(COREPYTHONPATH)
104104# This only contains the minimal set of modules required to run the
105105# setup.py script in the root of the Python source tree.
106106
107- posix posixmodule.c # posix (UNIX) system calls
108- errno errnomodule.c # posix (UNIX) errno values
109- pwd pwdmodule.c # this is needed to find out the user's home dir
110- # if $HOME is not set
111- _sre _sre.c # Fredrik Lundh's new regular expressions
112- _codecs _codecsmodule.c # access to the builtin codecs and codec registry
113- _weakref _weakref.c # weak references
114- _functools _functoolsmodule.c # Tools for working with functions and callable objects
115- _operator _operator.c # operator.add() and similar goodies
116- _collections _collectionsmodule.c # Container types
117- _abc _abc.c # Abstract base classes
118- itertools itertoolsmodule.c # Functions creating iterators for efficient looping
119- atexit atexitmodule.c # Register functions to be run at interpreter-shutdown
120- _signal signalmodule.c
121- _stat _stat.c # stat.h interface
122- time timemodule.c # -lm # time operations and variables
123- _thread _threadmodule.c # low-level threading interface
107+ posix -DPy_BUILD_CORE posixmodule.c # posix (UNIX) system calls
108+ errno errnomodule.c # posix (UNIX) errno values
109+ pwd pwdmodule.c # this is needed to find out the user's home dir
110+ # if $HOME is not set
111+ _sre _sre.c # Fredrik Lundh's new regular expressions
112+ _codecs _codecsmodule.c # access to the builtin codecs and codec registry
113+ _weakref _weakref.c # weak references
114+ _functools -DPy_BUILD_CORE _functoolsmodule.c # Tools for working with functions and callable objects
115+ _operator _operator.c # operator.add() and similar goodies
116+ _collections _collectionsmodule.c # Container types
117+ _abc _abc.c # Abstract base classes
118+ itertools itertoolsmodule.c # Functions creating iterators for efficient looping
119+ atexit atexitmodule.c # Register functions to be run at interpreter-shutdown
120+ _signal -DPy_BUILD_CORE signalmodule.c
121+ _stat _stat.c # stat.h interface
122+ time -DPy_BUILD_CORE timemodule.c # -lm # time operations and variables
123+ _thread -DPy_BUILD_CORE _threadmodule.c # low-level threading interface
124124
125125# access to ISO C locale support
126126_locale _localemodule.c # -lintl
127127
128128# Standard I/O baseline
129- _io -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
129+ _io -DPy_BUILD_CORE - I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
130130
131131# The zipimport module is always imported at startup. Having it as a
132132# builtin module avoids some bootstrapping problems and reduces overhead.
133- zipimport zipimport.c
133+ zipimport -DPy_BUILD_CORE zipimport.c
134134
135135# faulthandler module
136136faulthandler faulthandler.c
0 commit comments