Skip to content

Commit

Permalink
sys-libs/musl: Reapply filter-lto
Browse files Browse the repository at this point in the history
As strip-flags no longer removes -flto then a filter-lto is now
required to prevent bug 877343 from reopening, like has	already
been applied to	sys-libs/glibc.

Closes: https://bugs.gentoo.org/877343
Closes: gentoo/gentoo#30942
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
immolo authored and thesamesam committed May 9, 2023
1 parent 26e2612 commit 2864638
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sys-libs/musl/musl-1.2.3-r7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ src_prepare() {
}

src_configure() {
strip-flags # Prevent issues caused by aggressive optimizations & bug #877343
strip-flags && filter-lto # Prevent issues caused by aggressive optimizations & bug #877343
tc-getCC ${CTARGET}

just_headers && export CC=true
Expand Down
2 changes: 1 addition & 1 deletion sys-libs/musl/musl-1.2.3-r8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ src_prepare() {
}

src_configure() {
strip-flags # Prevent issues caused by aggressive optimizations & bug #877343
strip-flags && filter-lto # Prevent issues caused by aggressive optimizations & bug #877343
tc-getCC ${CTARGET}

just_headers && export CC=true
Expand Down
4 changes: 2 additions & 2 deletions sys-libs/musl/musl-1.2.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -88,7 +88,7 @@ src_prepare() {
}

src_configure() {
strip-flags # Prevent issues caused by aggressive optimizations & bug #877343
strip-flags && filter-lto # Prevent issues caused by aggressive optimizations & bug #877343
tc-getCC ${CTARGET}

just_headers && export CC=true
Expand Down
2 changes: 1 addition & 1 deletion sys-libs/musl/musl-1.2.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ src_prepare() {
}

src_configure() {
strip-flags # Prevent issues caused by aggressive optimizations & bug #877343
strip-flags && filter-lto # Prevent issues caused by aggressive optimizations & bug #877343
tc-getCC ${CTARGET}

just_headers && export CC=true
Expand Down
2 changes: 1 addition & 1 deletion sys-libs/musl/musl-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ src_prepare() {
}

src_configure() {
strip-flags # Prevent issues caused by aggressive optimizations & bug #877343
strip-flags && filter-lto # Prevent issues caused by aggressive optimizations & bug #877343
tc-getCC ${CTARGET}

just_headers && export CC=true
Expand Down

0 comments on commit 2864638

Please sign in to comment.