mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-07 21:26:35 +02:00
dev-libs/gmp: Sync with Gentoo
It's from Gentoo commit 28a7be8c9e3b551771c4ba5ad6f31cd28c4074d9.
This commit is contained in:
parent
dcc7341c35
commit
7acd5d7438
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user