about summary refs log tree commit diff
path: root/config.toml.example
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2018-08-10 12:23:48 +0200
committerMichael Woerister <michaelwoerister@posteo>2018-08-20 11:37:32 +0200
commit45497e32ccade5671f564ea6df69db1423fe090c (patch)
tree2cdd3a2c31bf8939de7955dbb9420bae722888cb /config.toml.example
parent34a654caa3640b606316169ebb57e4236e35f57a (diff)
downloadrust-45497e32ccade5671f564ea6df69db1423fe090c.tar.gz
rust-45497e32ccade5671f564ea6df69db1423fe090c.zip
bootstrap: Allow for building LLVM with ThinLTO.
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index e7a530ba4c2..35f69cd05b6 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -21,6 +21,12 @@
 # Indicates whether the LLVM build is a Release or Debug build
 #optimize = true
 
+# Indicates whether LLVM should be built with ThinLTO. Note that this will
+# only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++
+# toolchain (see the `cc`, `cxx`, `linker`, `ar`, and `ranlib` options below).
+# More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap
+#thin-lto = false
+
 # Indicates whether an LLVM Release build should include debug info
 #release-debuginfo = false