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

Skip to content

Commit 39b1e5d

Browse files
committed
build_all_use_profile: Build using -fprofile-correction to automatically
correct inconsistent profiles for multi-threaded programs.
1 parent 9facaf4 commit 39b1e5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ run_profile_task:
448448
$(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
449449

450450
build_all_use_profile:
451-
$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use"
451+
$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use -fprofile-correction"
452452

453453
coverage:
454454
@echo "Building with support for coverage checking:"

0 commit comments

Comments
 (0)