diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-13 18:03:18 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-17 17:51:23 +0200 |
commit | c8af3c8d29df9535b76ce62a8aafdbb0bc9cc10f (patch) | |
tree | 067f1117a0a9c0f5c5d9bc85a9edf5bf624ec55d /docs/markdown | |
parent | eb2c26b2c2f3662f489d403ef038944efdd77a85 (diff) | |
download | meson-c8af3c8d29df9535b76ce62a8aafdbb0bc9cc10f.zip meson-c8af3c8d29df9535b76ce62a8aafdbb0bc9cc10f.tar.gz meson-c8af3c8d29df9535b76ce62a8aafdbb0bc9cc10f.tar.bz2 |
Revert "Add thinlto support. Closes #7493."
This reverts commit 3e6fbde94c1cb8d4e01b7daf0282c315ff0e6c7d.
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/snippets/thinlto.md | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/docs/markdown/snippets/thinlto.md b/docs/markdown/snippets/thinlto.md deleted file mode 100644 index 44bc972..0000000 --- a/docs/markdown/snippets/thinlto.md +++ /dev/null @@ -1,27 +0,0 @@ -## Add support for thin LTO - -The `b_lto` option has been updated and now can be set to the value -`thin`. This enables [thin -LTO](https://clang.llvm.org/docs/ThinLTO.html) on all compilers where -it is supported. At the time of writing this means only Clang. - -This change is potentially backwards incompatible. If you have -examined the value of `b_lto` in your build file, note that its type -has changed from a boolean to a string. Thus comparisons like this: - -```meson -if get_option('b_lto') -... -endif -``` - -need to be changed to something like this instead: - -```meson -if get_option('b_lto') == 'true' -... -endif -``` - -This should not affect any command line invocations as configuring LTO -with `-Db_lto=true` still works and behaves the same way as before. |