dev-lisp/gcl: filter LTO for GCC bug

The code is pretty brittle anyway and we already do strip-flags.

Bug: https://gcc.gnu.org/PR114918
Bug: https://bugs.gentoo.org/931082
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-06-29 11:51:56 +01:00
parent c32861ff28
commit 438bbadd0f
3 changed files with 3 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ PATCHES=(
)
src_configure() {
filter-lto # bug #931082
strip-flags
filter-flags -fstack-protector -fstack-protector-all
# breaks linking on multiple defined syms

View File

@@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
>=dev-build/autoconf-2.52"
src_configure() {
filter-lto # bug #931082
strip-flags
filter-flags -fstack-protector -fstack-protector-all
# breaks linking on multiple defined syms

View File

@@ -35,6 +35,7 @@ PATCHES=(
S="${WORKDIR}"/${PN}-Version_2_6_15pre3/${PN}
src_configure() {
filter-lto # bug #931082
strip-flags
filter-flags -fstack-protector -fstack-protector-all