Index: build/toolchain/toolchain.gni |
diff --git a/build/toolchain/toolchain.gni b/build/toolchain/toolchain.gni |
index 1eae20159efd302d31de93d7d4df4cb42eabb67f..4ab0270f902a7b8dfd9b3114b0281e787d70265e 100644 |
--- a/build/toolchain/toolchain.gni |
+++ b/build/toolchain/toolchain.gni |
@@ -5,14 +5,12 @@ |
# Toolchain-related configuration that may be needed outside the context of the |
# toolchain() rules themselves. |
-import("//build/config/chrome_build.gni") |
- |
declare_args() { |
# Enable Link Time Optimization in optimized builds (output programs run |
# faster, but linking is up to 5-20x slower). |
# |
- allow_posix_link_time_opt = is_linux && !is_chromeos && target_cpu == "x64" && |
Nico
2016/05/26 15:21:50
I'm not sure why you rechecked cq after I unchecke
|
- is_chrome_branded && is_official_build |
+ # TODO(pcc): Remove this flag if/when LTO is enabled in official builds. |
+ allow_posix_link_time_opt = false |
# 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 |