diff options
| author | Thomas Perrot <thomas.perrot@bootlin.com> | 2026-03-31 10:12:01 +0200 |
|---|---|---|
| committer | Yi Zhao <yi.zhao@windriver.com> | 2026-04-09 18:45:02 +0800 |
| commit | 4904b87b12c51a68efc5b9cd45c7b519fdc48af1 (patch) | |
| tree | acab75ed6a7639228d2ad23e0092952d3cea9098 /recipes-security | |
| parent | 2d3afbc44456c2a16b10663ef3e9319491d6f386 (diff) | |
| download | meta-selinux-4904b87b12c51a68efc5b9cd45c7b519fdc48af1.tar.gz | |
libsemanage: disable LTO to fix buildpaths QA failure
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 libsepol-staticdev package.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Diffstat (limited to 'recipes-security')
| -rw-r--r-- | recipes-security/selinux/libsemanage_3.10.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-security/selinux/libsemanage_3.10.bb b/recipes-security/selinux/libsemanage_3.10.bb index 1279cce..4a18fae 100644 --- a/recipes-security/selinux/libsemanage_3.10.bb +++ b/recipes-security/selinux/libsemanage_3.10.bb | |||
| @@ -65,4 +65,8 @@ do_install:append() { | |||
| 65 | 65 | ||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | # LTO fat objects in static library embed original source paths in .gnu.lto_* IR | ||
| 69 | # sections which are not affected by -ffile-prefix-map, causing buildpaths QA failure | ||
| 70 | LTO = "" | ||
| 71 | |||
| 68 | BBCLASSEXTEND = "native" | 72 | BBCLASSEXTEND = "native" |
