]> granicus.if.org Git - clang/commitdiff
ThinLTO: Document the option BOOTSTRAP_LLVM_ENABLE_LTO
authorSylvestre Ledru <sylvestre@debian.org>
Mon, 2 Sep 2019 15:34:53 +0000 (15:34 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 2 Sep 2019 15:34:53 +0000 (15:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370671 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ThinLTO.rst

index e127413c0028c464b50403120b98507dceaf3c06..2d5d0a71fa6b7ac00a320b6bd2b5509da9e34dce 100644 (file)
@@ -225,6 +225,10 @@ To bootstrap clang/LLVM with ThinLTO, follow these steps:
    ``CMAKE_EXE_LINKER_FLAGS:STRING=``. Note the configure may fail if
    linker plugin options are instead specified directly in the previous step.
 
+The `BOOTSTRAP_LLVM_ENABLE_LTO=Thin`` will enable ThinLTO for stage 2 and
+stage 3 in case the compiler used for stage 1 does not support the ThinLTO
+option.
+
 More Information
 ================