summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-31 15:19:38 +0100
committerSam James <sam@gentoo.org>2024-05-31 15:23:29 +0100
commita780f708450f5ef986336186cf49d83b7b66ed71 (patch)
treed006c296e267cc85d62438646012f8e038f60d11 /app-arch/xz-utils
parentmedia-sound/qsampler: Stabilize 0.9.90 amd64, #933254 (diff)
downloadgentoo-a780f708450f5ef986336186cf49d83b7b66ed71.tar.gz
gentoo-a780f708450f5ef986336186cf49d83b7b66ed71.tar.bz2
gentoo-a780f708450f5ef986336186cf49d83b7b66ed71.zip
app-arch/xz-utils: fix PGO with USE=-extra-filters
Closes: https://bugs.gentoo.org/933205 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/xz-utils')
-rw-r--r--app-arch/xz-utils/xz-utils-5.6.2.ebuild6
-rw-r--r--app-arch/xz-utils/xz-utils-9999.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/app-arch/xz-utils/xz-utils-5.6.2.ebuild b/app-arch/xz-utils/xz-utils-5.6.2.ebuild
index 923a92ff82a9..43e7da134e9a 100644
--- a/app-arch/xz-utils/xz-utils-5.6.2.ebuild
+++ b/app-arch/xz-utils/xz-utils-5.6.2.ebuild
@@ -137,14 +137,14 @@ multilib_src_compile() {
# https://packages.altlinux.org/en/sisyphus/srpms/xz/specfiles/#line-80
'-0 -C none'
'-2 -C crc32'
- '-6 --arm --lzma2 -C crc64'
- '-6 --x86 --lzma2=lc=4 -C sha256'
+ $(usev extra-filters '-6 --arm --lzma2 -C crc64')
+ $(usev extra-filters '-6 --x86 --lzma2=lc=4 -C sha256')
'-7e --format=lzma'
# Our own variants
''
'-9e'
- '--x86 --lzma2=preset=9e'
+ $(usev extra-filters '--x86 --lzma2=preset=9e')
)
local test_variant
for test_variant in "${test_variants[@]}" ; do
diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild
index 923a92ff82a9..43e7da134e9a 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -137,14 +137,14 @@ multilib_src_compile() {
# https://packages.altlinux.org/en/sisyphus/srpms/xz/specfiles/#line-80
'-0 -C none'
'-2 -C crc32'
- '-6 --arm --lzma2 -C crc64'
- '-6 --x86 --lzma2=lc=4 -C sha256'
+ $(usev extra-filters '-6 --arm --lzma2 -C crc64')
+ $(usev extra-filters '-6 --x86 --lzma2=lc=4 -C sha256')
'-7e --format=lzma'
# Our own variants
''
'-9e'
- '--x86 --lzma2=preset=9e'
+ $(usev extra-filters '--x86 --lzma2=preset=9e')
)
local test_variant
for test_variant in "${test_variants[@]}" ; do