diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-21 15:15:54 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-08 10:00:02 +0200 |
commit | c2c659db326591519d451d368c4e33c78bb9c1fa (patch) | |
tree | 3c93bbc143612aa2d5487b9c0918b74629bdd714 /platform/linuxbsd/freedesktop_portal_desktop.h | |
parent | 69233093d7e6479b5130bf2c39cbf464a6809c1b (diff) |
SCons: Refactor LTO options with `lto=<none|thin|full>`
Adds support for LTO on macOS and Android. We don't have much experience
with LTO on these platforms so for now we keep it disabled by default
even when `production=yes` is set.
Similarly for iOS where we ship object files for the user to link in
Xcode so LTO makes builds extremely slow to link.
`production=yes` defaults to full LTO.
ThinLTO is much faster for LLVM-based compilers but seems to produce
bigger binaries (at least for the Web platform).
Diffstat (limited to 'platform/linuxbsd/freedesktop_portal_desktop.h')
0 files changed, 0 insertions, 0 deletions