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

Unified Diff: build/toolchain/toolchain.gni

Issue 2621193003: Don't condition on the branding when choosing LTO and CFI. (Closed)
Patch Set: Created 3 years, 11 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 | « build/config/sanitizers/sanitizers.gni ('k') | tools/clang/scripts/update.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/toolchain.gni
diff --git a/build/toolchain/toolchain.gni b/build/toolchain/toolchain.gni
index baa4387d151cd523719fa945e0e09f167f633a61..b89733b1aa148e8a28bfc5075709284fd8659261 100644
--- a/build/toolchain/toolchain.gni
+++ b/build/toolchain/toolchain.gni
@@ -13,9 +13,8 @@ declare_args() {
# faster, but linking is up to 5-20x slower).
# Note: use target_os == "linux" rather than is_linux so that it does not
# apply to host_toolchain when target_os="android".
- allow_posix_link_time_opt =
- target_os == "linux" && !is_chromeos && target_cpu == "x64" &&
- is_chrome_branded && is_official_build
+ allow_posix_link_time_opt = target_os == "linux" && !is_chromeos &&
+ target_cpu == "x64" && is_official_build
# Set to true to use lld, the LLVM linker. This flag may be used on Windows
# with the shipped LLVM toolchain, or on Linux with a self-built top-of-tree
« no previous file with comments | « build/config/sanitizers/sanitizers.gni ('k') | tools/clang/scripts/update.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698