File tree 1 file changed +4
-1
lines changed
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
784
784
# Build the interpreter
785
785
$(BUILDPYTHON): Programs/python.o $(LINK_PYTHON_DEPS)
786
786
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)
788
791
echo "BUILDPYTHON: BUILDPYTHON=$(BUILDPYTHON) target=$@"
789
792
echo "BUILDPYTHON: built successfully"
790
793
echo "BUILDPYTHON: pwd"
You can’t perform that action at this time.
0 commit comments