mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-16 09:52:20 +02:00
sys-apps/util-linux: Sync with Gentoo
It's from Gentoo commit ddb25922124a4e0b58e2a6b1b96b25b9aaf1657b.
This commit is contained in:
parent
7f511da765
commit
c150809c43
@ -353,6 +353,12 @@ multilib_src_configure() {
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
append-lfs-flags
|
append-lfs-flags
|
||||||
|
|
||||||
|
# Workaround for bug #961040 (gcc PR120006)
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) == 15 && $(gcc-minor-version) -lt 2 ]] ; then
|
||||||
|
append-flags -fno-ipa-pta
|
||||||
|
fi
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
multilib-minimal_src_configure
|
||||||
}
|
}
|
||||||
|
|
@ -6,7 +6,7 @@ EAPI=8
|
|||||||
PYTHON_COMPAT=( python3_{11..14} )
|
PYTHON_COMPAT=( python3_{11..14} )
|
||||||
TMPFILES_OPTIONAL=1
|
TMPFILES_OPTIONAL=1
|
||||||
|
|
||||||
inherit pam python-r1 meson-multilib tmpfiles toolchain-funcs
|
inherit flag-o-matic pam python-r1 meson-multilib tmpfiles toolchain-funcs
|
||||||
|
|
||||||
MY_PV="${PV/_/-}"
|
MY_PV="${PV/_/-}"
|
||||||
MY_P="${PN}-${MY_PV}"
|
MY_P="${PN}-${MY_PV}"
|
||||||
@ -128,6 +128,11 @@ src_unpack() {
|
|||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
# Workaround for bug #961040 (gcc PR120006)
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) == 15 && $(gcc-minor-version) -lt 2 ]] ; then
|
||||||
|
append-flags -fno-ipa-pta
|
||||||
|
fi
|
||||||
|
|
||||||
if use test ; then
|
if use test ; then
|
||||||
# Known-failing tests
|
# Known-failing tests
|
||||||
local known_failing_tests=(
|
local known_failing_tests=(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user