diff options
author | Sam James <sam@gentoo.org> | 2021-04-16 04:43:38 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-16 04:44:47 +0000 |
commit | 2aa31cede94cced66b25a5243de1e5b6e2d595bb (patch) | |
tree | 2bbc16a147541fb2c36321c080e75441e25f824b /dev-libs/libsodium | |
parent | net-analyzer/nmap: use live template (diff) | |
download | gentoo-2aa31cede94cced66b25a5243de1e5b6e2d595bb.tar.gz gentoo-2aa31cede94cced66b25a5243de1e5b6e2d595bb.tar.bz2 gentoo-2aa31cede94cced66b25a5243de1e5b6e2d595bb.zip |
dev-libs/libsodium: simplify IUSE for CPU_* USE_EXPAND
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libsodium')
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.18_p20210508.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/libsodium/libsodium-1.0.18_p20210508.ebuild b/dev-libs/libsodium/libsodium-1.0.18_p20210508.ebuild index ddf5fc8f9836..fe46856d8f7d 100644 --- a/dev-libs/libsodium/libsodium-1.0.18_p20210508.ebuild +++ b/dev-libs/libsodium/libsodium-1.0.18_p20210508.ebuild @@ -32,7 +32,10 @@ fi LICENSE="ISC" SLOT="0/23" KEYWORDS="~amd64 ~ppc64" -IUSE="+asm minimal static-libs +urandom cpu_flags_x86_sse4_1 cpu_flags_x86_aes" +IUSE="+asm minimal static-libs +urandom" + +CPU_USE=( cpu_flags_x86_{aes,sse4_1} ) +IUSE+=" ${CPU_USE[@]}" if [[ ${PV} == *_p* ]] ; then IUSE+=" verify-sig" |