Skip to content

Commit

Permalink
dev-libs/elfutils: filter out -flto
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sergei Trofimovich committed May 9, 2020
1 parent 74768a0 commit 642e7e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev-libs/elfutils/elfutils-0.177.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
5 changes: 5 additions & 0 deletions dev-libs/elfutils/elfutils-0.179.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 642e7e3

Please sign in to comment.