mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
sys-apps/util-linux: Sync with Gentoo
It's from Gentoo commit b7db6027b207d11e6e8ee4bdb5313fbac2741d83. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
4a982a9710
commit
1543958455
@ -341,6 +341,21 @@ multilib_src_configure() {
|
||||
)
|
||||
fi
|
||||
|
||||
if use kernel_Hurd ; then
|
||||
# Disable Linux-specific features
|
||||
myeconfargs+=(
|
||||
--disable-partx
|
||||
--disable-rfkill
|
||||
--disable-schedutils
|
||||
--disable-fsck
|
||||
)
|
||||
|
||||
# This is explicitly needed for some reason? TODO
|
||||
myeconfargs+=(
|
||||
--enable-agetty
|
||||
)
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
|
||||
if multilib_is_native_abi && use python ; then
|
||||
@ -316,6 +316,21 @@ multilib_src_configure() {
|
||||
)
|
||||
fi
|
||||
|
||||
if use kernel_Hurd ; then
|
||||
# Disable Linux-specific features
|
||||
emesonargs+=(
|
||||
-Dbuild-partx=disabled
|
||||
-Dbuild-rfkill=disabled
|
||||
-Dbuild-schedutils=disabled
|
||||
-Dbuild-fsck=disabled
|
||||
)
|
||||
|
||||
# This is explicitly needed for some reason? TODO
|
||||
emesonargs+=(
|
||||
-Dbuild-agetty=enabled
|
||||
)
|
||||
fi
|
||||
|
||||
local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local
|
||||
cat >> ${native_file} <<-EOF || die
|
||||
[binaries]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user