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@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28884
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Ian Jordan
2022-12-29 00:59:53 +00:00
committed by Sam James
parent 141ed6d7e3
commit fc71e4500d
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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