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

Unified Diff: build/config/BUILD.gn

Issue 2813823006: [Windows MSVC CFG] Link with CFG only on executables. (Closed)
Patch Set: Created 3 years, 8 months 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 | build/config/win/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 51d68cffe2a3fe771cf7b6ee69196f2419a4a95d..890785c34ddef990c8c8acb7efb905b5b9a2cc54 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -282,6 +282,9 @@ config("executable_config") {
if (is_win) {
configs += _windows_linker_configs
+
+ # Currently only turn on linker CFI for executables.
scottmg 2017/04/13 06:01:18 Can you add a link here to the bug?
+ configs += [ "//build/config/win:cfi_linker" ]
} else if (is_mac) {
configs += [
"//build/config/mac:mac_dynamic_flags",
« no previous file with comments | « no previous file | build/config/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698