summaryrefslogtreecommitdiffstats
path: root/abs/core/python2/fix-profile-task.patch
blob: c6558efc00c6048596c9b22fd469b23f339511f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)