summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/ymake.core.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 0bf0d751a94..50f21b64029 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -707,7 +707,7 @@ module _BASE_UNIT: _BARE_UNIT {
when ($CLANG) {
when ($PGO_ADD == "yes") {
CFLAGS+=-fprofile-instr-generate
- NO_PGO_CFLAGS=-fno-profile-instr-generate
+ NO_PGO_CFLAGS=$_DISABLE_CLANG_COVERAGE_CFLAGS
LDFLAGS+=-fprofile-instr-generate
}
when ($PGO_PATH) {