@@ -1613,8 +1613,8 @@ regen-re: $(BUILDPYTHON)
16131613Programs/_testembed: Programs/_testembed.o $(LINK_PYTHON_DEPS)
16141614 $(LINKCC) $(PY_CORE_EXE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
16151615
1616- Programs/_getcompiler: Programs/_getcompiler.c
1617- $(LINKCC) $(PY_CPPFLAGS) -o $@ $<
1616+ Programs/_getcompiler: $(srcdir)/ Programs/_getcompiler.c
1617+ $(LINKCC) $(PY_CPPFLAGS) -o $@ $(srcdir)/Programs/_getcompiler.c
16181618
16191619############################################################################
16201620# "Bootstrap Python" used to run Programs/_freeze_module.py
@@ -1867,12 +1867,12 @@ regen-all: regen-cases regen-slots \
18671867# Special rules for object files
18681868
18691869Modules/getbuildinfo.h: $(srcdir)/Tools/build/generate_getbuildinfo.py Programs/_getcompiler
1870- $(PYTHON_FOR_REGEN) $(srcdir)/Tools/build/generate_getbuildinfo.py \
1871- -o $@ \
1872- --platform="$(MACHDEP)" \
1873- --git-version="`LC_ALL=C $(GITVERSION)`" \
1874- --git-tag="`LC_ALL=C $(GITTAG)`" \
1875- --git-branch="`LC_ALL=C $(GITBRANCH)`"
1870+ $(PYTHON_FOR_REGEN) $(srcdir)/Tools/build/generate_getbuildinfo.py \
1871+ -o $@ \
1872+ --platform="$(MACHDEP)" \
1873+ --git-version="`LC_ALL=C $(GITVERSION)`" \
1874+ --git-tag="`LC_ALL=C $(GITTAG)`" \
1875+ --git-branch="`LC_ALL=C $(GITBRANCH)`"
18761876
18771877Modules/getbuildinfo.o: $(srcdir)/Modules/getbuildinfo.c Modules/getbuildinfo.h
18781878 # Add local Modules/ include directory to get Modules/getbuildinfo.h
0 commit comments