| Index: build/config/win/BUILD.gn
|
| diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn
|
| index c36f80cca1754d7571c0fb80d0bf48aa69d76100..3da27470120c5fe17c564f6f012dff4694cbc627 100644
|
| --- a/build/config/win/BUILD.gn
|
| +++ b/build/config/win/BUILD.gn
|
| @@ -96,8 +96,8 @@ config("compiler") {
|
| assert(!is_win_fastlink)
|
| ldflags = [ "/PROFILE" ]
|
| } else {
|
| - if (!is_debug && !is_component_build && !is_clang) {
|
| - if (is_win_fastlink) {
|
| + if (!is_debug && !is_component_build) {
|
| + if (is_win_fastlink || is_clang) {
|
| # /PROFILE implies the following linker flags. Therefore if we are
|
| # skipping /PROFILE because it is incompatible with /DEBUG:FASTLINK
|
| # we should explicitly add these flags in order to avoid unintended
|
|
|