dev-libs/gmp: Sync with Gentoo

It's from Gentoo commit 8017296671ac17c48f70c888413b648b7b00400d.
This commit is contained in:
Flatcar Buildbot 2024-11-25 07:05:16 +00:00 committed by Krzesimir Nowak
parent 8828b0400e
commit 4d290db482

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -96,6 +96,8 @@ multilib_src_configure() {
# 6.3.0 says it now supports LTO, but needs retesting on a variety
# of platforms. Fix was maybe https://gmplib.org/repo/gmp-6.3/rev/9c324044f4b5.
filter-lto
# https://gmplib.org/list-archives/gmp-bugs/2024-November/005550.html
append-cflags -std=gnu17
# 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)