]> granicus.if.org Git - python/commitdiff
build_all_use_profile: Build using -fprofile-correction to automatically
authorMatthias Klose <doko@ubuntu.com>
Wed, 27 Jun 2012 12:13:33 +0000 (14:13 +0200)
committerMatthias Klose <doko@ubuntu.com>
Wed, 27 Jun 2012 12:13:33 +0000 (14:13 +0200)
correct inconsistent profiles for multi-threaded programs.

Makefile.pre.in

index bfa818bfbb91ddb700f59438498e099f01351ede..88f6967cde630759f0e9e04bc126274caaa9fa77 100644 (file)
@@ -448,7 +448,7 @@ run_profile_task:
        $(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:"