Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lto: Override LTO variable from oe-core for thin-lto | Khem Raj | 2020-11-13 | 1 | -7/+0 |
| | | | | | | If thin-lto is used in DISTRO_FEATURES then enable thin-lto Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||||
* | clang: Enable LTO and lld based on distro knobs | Khem Raj | 2019-02-09 | 1 | -0/+7 |
Add to local.conf or distro config the following to enable lto flavors and lld linker DISTRO_FEATURES += "thin-lto" DISTRO_FEATURES += "full-lto" DISTRO_FEATURES += "lld" Add lto.bbclass To enable LTO is currently per recipe, or globally to enable globally add following to global config meta-data e.g. local.conf INHRIT += "lto" other-wise enable LTO per recipe using inherit lto to recipe via bbappend or in main recipe Signed-off-by: Khem Raj <raj.khem@gmail.com> |