| Message ID | 20260328160251.417665-1-thomas.perrot@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | [yocto-patches,meta-selinux] libselinux: disable LTO to fix buildpaths QA failure | expand |
diff --git a/recipes-security/selinux/libselinux_3.10.bb b/recipes-security/selinux/libselinux_3.10.bb index 9cfcf65b5020..86c9168a002d 100644 --- a/recipes-security/selinux/libselinux_3.10.bb +++ b/recipes-security/selinux/libselinux_3.10.bb @@ -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"