File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ ARFLAGS= @ARFLAGS@
107107CFLAGSFORSHARED=@CFLAGSFORSHARED@
108108# C flags used for building the interpreter object files
109109PY_STDMODULE_CFLAGS= $(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) $(CFLAGSFORSHARED)
110+ PY_BUILTIN_MODULE_CFLAGS= $(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE_BUILTIN
110111PY_CORE_CFLAGS= $(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE
111112# Strict or non-strict aliasing flags used to compile dtoa.c, see above
112113CFLAGS_ALIASING=@CFLAGS_ALIASING@
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
233233 case $doconfig in
234234 no) cc=" $cc \$ (CCSHARED) \$ (PY_CFLAGS) \$ (PY_CPPFLAGS)" ;;
235235 * )
236- cc=" $cc \$ (PY_STDMODULE_CFLAGS )" ;;
236+ cc=" $cc \$ (PY_BUILTIN_MODULE_CFLAGS )" ;;
237237 esac
238238 rule=" $obj : $src ; $cc $cpps -c $src -o $obj "
239239 echo " $rule " >> $rulesf
You can’t perform that action at this time.
0 commit comments