diff options
author | Sam James <sam@gentoo.org> | 2024-03-05 06:57:18 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-05 06:57:18 +0000 |
commit | ff36734275bc5264ea066b3e112f06acb879ca16 (patch) | |
tree | a83e793dcbf68ffb70c7073d2a9b28b7bd7ff3dc /dev-util/crash/crash-8.0.3-r1.ebuild | |
parent | games-simulation/lincity: filter LTO (diff) | |
download | gentoo-ff36734275bc5264ea066b3e112f06acb879ca16.tar.gz gentoo-ff36734275bc5264ea066b3e112f06acb879ca16.tar.bz2 gentoo-ff36734275bc5264ea066b3e112f06acb879ca16.zip |
dev-util/crash: filter LTO
It's based on an old version of gdb currently which isn't LTO-safe.
Bug: https://bugs.gentoo.org/853898
Closes: https://bugs.gentoo.org/858344
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/crash/crash-8.0.3-r1.ebuild')
-rw-r--r-- | dev-util/crash/crash-8.0.3-r1.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-util/crash/crash-8.0.3-r1.ebuild b/dev-util/crash/crash-8.0.3-r1.ebuild index e2c69feeeb4e..a7ffd58cb9a5 100644 --- a/dev-util/crash/crash-8.0.3-r1.ebuild +++ b/dev-util/crash/crash-8.0.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs GDB_VERSION=10.2 UPSTREAM_VER= @@ -59,6 +59,13 @@ src_prepare() { ln -s "${DISTDIR}"/gdb-10.2.tar.gz . || die } +src_configure() { + # bug #858344 + filter-lto + + default +} + src_compile() { emake \ CC="$(tc-getCC)" \ |