Skip to content

Commit 36a19c5

Browse files
authored
[Fuchsia] Add BOOTSTRAP_BOOTSTRAP flags for PGO (#150448)
1 parent f44346d commit 36a19c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/cmake/caches/Fuchsia.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ foreach(variable ${_FUCHSIA_BOOTSTRAP_PASSTHROUGH})
7676
get_property(value CACHE ${variable} PROPERTY VALUE)
7777
get_property(type CACHE ${variable} PROPERTY TYPE)
7878
set(BOOTSTRAP_${variable} "${value}" CACHE ${type} "")
79+
if(FUCHSIA_ENABLE_PGO)
80+
set(BOOTSTRAP_BOOTSTRAP_${variable} "${value}" CACHE ${type} "")
81+
endif()
7982
endif()
8083
endforeach()
8184

0 commit comments

Comments
 (0)