mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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>
This commit is contained in:
@@ -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)" \
|
||||
|
||||
@@ -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=
|
||||
@@ -54,6 +54,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)" \
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2022 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
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
@@ -33,6 +33,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)" \
|
||||
|
||||
Reference in New Issue
Block a user