]> code.ossystems Code Review - openembedded-core.git/commit
python3: Enable lto if its in DISTRO_FEATURES
authorKhem Raj <raj.khem@gmail.com>
Mon, 9 Nov 2020 00:02:08 +0000 (16:02 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Nov 2020 10:04:34 +0000 (10:04 +0000)
commit2ccaa99871af8cb5b41e12a619e1bfbea4ca6f33
treeecff9cc0fa91eadd1ffb2a9edbc51dbb1a9efc43
parent228b5a91516cdf9d5a1df3c721ba8e5619b188ab
python3: Enable lto if its in DISTRO_FEATURES

python3 configure compiles on object file and then greps for strings in
it for endianness for target ,when using LTO the .o files are not nomal
ELF onjects so this test fails, since we are using --enable-lto to
enable this here we dont need to inject extra paths via bitbake anyway
therefore reset LTO variable for target

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.9.0.bb