From: Sergei Trofimovich Date: Sat, 9 May 2020 20:04:45 +0000 (+0100) Subject: dev-libs/elfutils: filter out -flto X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=642e7e3333b899c315d01f20279de4167f0d8dfd;p=gentoo.git dev-libs/elfutils: filter out -flto Upstream plans to fix -flto eventually, but it will require explicit gcc support. Will take some time to arrive. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- diff --git a/dev-libs/elfutils/elfutils-0.177.ebuild b/dev-libs/elfutils/elfutils-0.177.ebuild index 7198d5d86567..e0fb96346a94 100644 --- a/dev-libs/elfutils/elfutils-0.177.ebuild +++ b/dev-libs/elfutils/elfutils-0.177.ebuild @@ -43,6 +43,11 @@ src_prepare() { src_configure() { use test && append-flags -g #407135 + + # Symbol aliases are implemented as asm statements. + # Will require porting: https://gcc.gnu.org/PR48200 + filter-flags '-flto*' + multilib-minimal_src_configure } diff --git a/dev-libs/elfutils/elfutils-0.179.ebuild b/dev-libs/elfutils/elfutils-0.179.ebuild index a4b4ed4c2f86..5313453d1a02 100644 --- a/dev-libs/elfutils/elfutils-0.179.ebuild +++ b/dev-libs/elfutils/elfutils-0.179.ebuild @@ -45,6 +45,11 @@ src_prepare() { src_configure() { use test && append-flags -g #407135 + + # Symbol aliases are implemented as asm statements. + # Will require porting: https://gcc.gnu.org/PR48200 + filter-flags '-flto*' + multilib-minimal_src_configure }