File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -784,7 +784,10 @@ clinic-tests: check-clean-src $(srcdir)/Lib/test/clinic.test.c
784784# Build the interpreter
785785$(BUILDPYTHON): Programs/python.o $(LINK_PYTHON_DEPS)
786786 echo "BUILDPYTHON: run $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)"
787- $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
787+ @ # Use -o $(BUILDPYTHON) instead of -o $@ to write the program in the
788+ @ # build directory instead of the source directory with FreeBSD make
789+ @ # (gh-103053).
790+ $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $(BUILDPYTHON) Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
788791 echo "BUILDPYTHON: BUILDPYTHON=$(BUILDPYTHON) target=$@"
789792 echo "BUILDPYTHON: built successfully"
790793 echo "BUILDPYTHON: pwd"
You can’t perform that action at this time.
0 commit comments