net-wireless/iwd: only check for *_SSSE3 options on amd64

I've been informed that these SSSE3 accelerated crypto options require
CONFIG_64BIT in the kernel, so the ebuild should not check for them on
32bit x86.

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2019-06-03 10:59:50 -05:00
parent e5ad96c31f
commit d28332748e

View File

@@ -68,7 +68,7 @@ pkg_pretend() {
WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
fi
if use cpu_flags_x86_ssse3; then
if use cpu_flags_x86_ssse3 && use amd64; then
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"