commit:     fc71e4500dc8046427e12feae14feeb30206767a
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Thu Dec 29 00:59:53 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 19:01:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc71e450

sys-libs/musl: strip-flags

Found reports of systemwide issues when Musl is compiled with -Ofast so this is
intended to at least save some users from one issue using Ofast systemwide.

Thanks-to: Krusin
Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28884
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/musl/musl-1.2.2-r8.ebuild | 2 +-
 sys-libs/musl/musl-1.2.3-r5.ebuild | 2 +-
 sys-libs/musl/musl-1.2.3.ebuild    | 2 +-
 sys-libs/musl/musl-9999.ebuild     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/musl/musl-1.2.2-r8.ebuild 
b/sys-libs/musl/musl-1.2.2-r8.ebuild
index 2c16357eb55f..f0d6a3295328 100644
--- a/sys-libs/musl/musl-1.2.2-r8.ebuild
+++ b/sys-libs/musl/musl-1.2.2-r8.ebuild
@@ -88,7 +88,7 @@ src_prepare() {
 }
 
 src_configure() {
-       filter-lto # bug #877343
+       strip-flags # Prevent issues caused by aggressive optimizations & bug 
#877343
        tc-getCC ${CTARGET}
 
        just_headers && export CC=true

diff --git a/sys-libs/musl/musl-1.2.3-r5.ebuild 
b/sys-libs/musl/musl-1.2.3-r5.ebuild
index 76f802c610d8..2c0d803dd8f4 100644
--- a/sys-libs/musl/musl-1.2.3-r5.ebuild
+++ b/sys-libs/musl/musl-1.2.3-r5.ebuild
@@ -102,7 +102,7 @@ src_prepare() {
 }
 
 src_configure() {
-       filter-lto # bug #877343
+       strip-flags # Prevent issues caused by aggressive optimizations & bug 
#877343
        tc-getCC ${CTARGET}
 
        just_headers && export CC=true

diff --git a/sys-libs/musl/musl-1.2.3.ebuild b/sys-libs/musl/musl-1.2.3.ebuild
index 2c16357eb55f..f0d6a3295328 100644
--- a/sys-libs/musl/musl-1.2.3.ebuild
+++ b/sys-libs/musl/musl-1.2.3.ebuild
@@ -88,7 +88,7 @@ src_prepare() {
 }
 
 src_configure() {
-       filter-lto # bug #877343
+       strip-flags # Prevent issues caused by aggressive optimizations & bug 
#877343
        tc-getCC ${CTARGET}
 
        just_headers && export CC=true

diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index 76f802c610d8..2c0d803dd8f4 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -102,7 +102,7 @@ src_prepare() {
 }
 
 src_configure() {
-       filter-lto # bug #877343
+       strip-flags # Prevent issues caused by aggressive optimizations & bug 
#877343
        tc-getCC ${CTARGET}
 
        just_headers && export CC=true

Reply via email to