Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7332)

Unified Diff: build/config/win/BUILD.gn

Issue 2520373003: Use /OPT:REF in clang optimized static builds (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698