libselinux: disable LTO to fix buildpaths QA failure
PATCH 1/1 libselinux: disable LTO to fix buildpaths QA failure
From: Thomas Perrot <[email protected]>
Fat LTO objects in the static library embed original source paths in .gnu.lto_* IR sections. Unlike DWARF output, these sections are not affected by -ffile-prefix-map, causing TMPDIR references to survive into the installed libselinux-staticdev package.
Signed-off-by Thomas Perrot <[email protected]>
--- recipes-security/selinux/libselinux_3.10.bb | 4 ++++ 1 file changed, 4 insertions(+)
recipes-security/selinux/libselinux_3.10.bb +4 -0
@@ -28,4 +28,8 @@ def get_policyconfigarch(d): EXTRA_OEMAKE = "${@get_policyconfigarch(d)}" EXTRA_OEMAKE:append:libc-musl = " FTS_LDLIBS=-lfts" +# LTO fat objects in static library embed original source paths in .gnu.lto_* IR +# sections which are not affected by -ffile-prefix-map, causing buildpaths QA failure +LTO = "" + BBCLASSEXTEND = "native"
Signature · 1 line
2.53.0