summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-02-08 10:07:54 -0800
committerKhem Raj <raj.khem@gmail.com>2019-02-09 19:27:13 -0800
commit48107e9c52b6ef16174280db582b078f687ae99f (patch)
tree0d54433fd0df6423972c70dcde3b43f4eced6431 /recipes-core
parent00b9cd93d591099071e7087b9a354da6338dc1b7 (diff)
downloadmeta-clang-48107e9c52b6ef16174280db582b078f687ae99f.tar.gz
clang: Enable LTO and lld based on distro knobs
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>
Diffstat (limited to 'recipes-core')
0 files changed, 0 insertions, 0 deletions