diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-10 23:34:28 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-10 23:34:36 +0100 |
commit | 66ed1750662e08635c78e8cdd477499277ba392a (patch) | |
tree | 7810408abd1d1e9752429215f695e291aff9c903 /sys-apps/sandbox | |
parent | dev-python/monotonic: Remove last-rited pkg (diff) | |
download | gentoo-66ed1750662e08635c78e8cdd477499277ba392a.tar.gz gentoo-66ed1750662e08635c78e8cdd477499277ba392a.tar.bz2 gentoo-66ed1750662e08635c78e8cdd477499277ba392a.zip |
sys-apps/sandbox: force -fno-lto
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r-- | sys-apps/sandbox/sandbox-2.24.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/sandbox/sandbox-2.24.ebuild b/sys-apps/sandbox/sandbox-2.24.ebuild index 844b1e1fe4cc..410fd928fc58 100644 --- a/sys-apps/sandbox/sandbox-2.24.ebuild +++ b/sys-apps/sandbox/sandbox-2.24.ebuild @@ -25,6 +25,14 @@ sandbox_death_notice() { ewarn "FEATURES='-sandbox -usersandbox' emerge sandbox" } +src_prepare() { + default + + # sandbox uses `__asm__ (".symver "...` which does + # not play well with gcc's LTO: https://gcc.gnu.org/PR48200 + append-flags -fno-lto +} + multilib_src_configure() { filter-lfs-flags #90228 |