diff --git a/dev-libs/elfutils/elfutils-0.177.ebuild b/dev-libs/elfutils/elfutils-0.177.ebuild index 7198d5d86567d..e0fb96346a94a 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 a4b4ed4c2f86a..5313453d1a025 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 }