]> code.ossystems Code Review - openembedded-core.git/commit
libtool: Fix lto option passing for reproducible builds
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Aug 2021 10:18:20 +0000 (11:18 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Oct 2021 14:04:49 +0000 (04:04 -1000)
commit3dcc84e37ce7e94e746304ee2a4437251af0ae41
tree38ee754d68e42d4e583cfc39a1df1d301ee64885
parentc6a5c4a72de7590b4ac8f5e1bd4c1e83567ef468
libtool: Fix lto option passing for reproducible builds

If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c26d2c00b47df856fb2d9c35486b135094d46ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/libtool/libtool-2.4.6.inc
meta/recipes-devtools/libtool/libtool/lto-prefix.patch [new file with mode: 0644]