Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d9db1d

Browse files
committed
Try to fix issue #15086: build failure on Ubuntu shared buildbot.
1 parent 7e19337 commit 2d9db1d

2 files changed

Lines changed: 2330 additions & 2325 deletions

File tree

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ build_all_generate_profile:
442442
$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-generate" LIBS="$(LIBS) -lgcov"
443443

444444
run_profile_task:
445-
./$(BUILDPYTHON) $(PROFILE_TASK)
445+
$(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
446446

447447
build_all_use_profile:
448448
$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use"
@@ -580,7 +580,7 @@ Modules/_testembed: Modules/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
580580

581581
Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py $(srcdir)/Python/freeze_importlib.py
582582
@if test -f ./$(BUILDPYTHON); then \
583-
./$(BUILDPYTHON) $(srcdir)/Python/freeze_importlib.py \
583+
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Python/freeze_importlib.py \
584584
$(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h; \
585585
else \
586586
echo "----------------------------------------------------------"; \

0 commit comments

Comments
 (0)