[Python-checkins] cpython: build_all_use_profile: Build using -fprofile-correction to automatically

matthias.klose python-checkins at python.org
Wed Jun 27 14:15:00 CEST 2012


http://hg.python.org/cpython/rev/9179d63646fb
changeset:   77813:9179d63646fb
user:        Matthias Klose <doko at ubuntu.com>
date:        Wed Jun 27 14:13:33 2012 +0200
summary:
  build_all_use_profile: Build using -fprofile-correction to automatically
correct inconsistent profiles for multi-threaded programs.

files:
  Makefile.pre.in |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -448,7 +448,7 @@
 	$(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
 
 build_all_use_profile:
-	$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use"
+	$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use -fprofile-correction"
 
 coverage:
 	@echo "Building with support for coverage checking:"

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list