PKGBUILDs/extra/python2/fix-profile-task.patch
2017-07-22 19:11:31 +00:00

13 lines
472 B
Diff

diff --git a/Python-2.7.13/Makefile.pre.in b/Python-2.7.13/Makefile.pre.in
index e288964..22edc27 100644
--- a/Python-2.7.13/Makefile.pre.in
+++ b/Python-2.7.13/Makefile.pre.in
@@ -456,7 +456,7 @@ build_all_generate_profile:
run_profile_task:
: # FIXME: can't run for a cross build
- $(LLVM_PROF_FILE) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
+ $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
build_all_merge_profile:
$(LLVM_PROF_MERGER)