app-arch/xz-utils: cater to libarchive tar harder

Closes: https://bugs.gentoo.org/933200
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-06-02 04:37:30 +01:00
parent a8f4284481
commit 3d76fd2a63
2 changed files with 16 additions and 8 deletions

View File

@@ -116,10 +116,14 @@ multilib_src_compile() {
if use pgo ; then
emake CFLAGS="${CFLAGS} ${pgo_generate_flags}" -k check
local tar_pgo_args=(
--mtime=@2718281828
)
has_version -b "app-alternatives/tar[gnu]" && tar_pgo_args+=( --sort=name )
local tar_pgo_args=()
if has_version -b "app-alternatives/tar[gnu]" ; then
tar_pgo_args+=(
--mtime=@2718281828
--sort=name
)
fi
if multilib_is_native_abi ; then
(

View File

@@ -116,10 +116,14 @@ multilib_src_compile() {
if use pgo ; then
emake CFLAGS="${CFLAGS} ${pgo_generate_flags}" -k check
local tar_pgo_args=(
--mtime=@2718281828
)
has_version -b "app-alternatives/tar[gnu]" && tar_pgo_args+=( --sort=name )
local tar_pgo_args=()
if has_version -b "app-alternatives/tar[gnu]" ; then
tar_pgo_args+=(
--mtime=@2718281828
--sort=name
)
fi
if multilib_is_native_abi ; then
(