dev-libs/gmp: Sync with Gentoo

It's from Gentoo commit 28a7be8c9e3b551771c4ba5ad6f31cd28c4074d9.
This commit is contained in:
Flatcar Buildbot 2023-05-22 07:12:26 +00:00 committed by Krzesimir Nowak
parent dcc7341c35
commit 7acd5d7438
2 changed files with 12 additions and 2 deletions

View File

@ -3,7 +3,7 @@
EAPI=7
inherit libtool multilib-minimal toolchain-funcs
inherit libtool flag-o-matic multilib-minimal toolchain-funcs
MY_PV=${PV/_p*}
MY_PV=${MY_PV/_/-}
@ -66,6 +66,11 @@ src_prepare() {
}
multilib_src_configure() {
# Generally a very fragile package
strip-flags
# Miscompiled with LTO at least on arm64, bug #889948
filter-lto
# Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
# https://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
if [[ ${CHOST} == hppa2.0-* ]] ; then

View File

@ -3,7 +3,7 @@
EAPI=8
inherit gnuconfig libtool multilib-minimal toolchain-funcs
inherit gnuconfig libtool flag-o-matic multilib-minimal toolchain-funcs
MY_PV=${PV/_p*}
MY_PV=${MY_PV/_/-}
@ -94,6 +94,11 @@ src_prepare() {
}
multilib_src_configure() {
# Generally a very fragile package
strip-flags
# Miscompiled with LTO at least on arm64, bug #889948
filter-lto
# Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
# https://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
if [[ ${CHOST} == hppa2.0-* ]] ; then