net-wireless/iwd: only check for *_SSSE3 options on amd64
authorBen Kohler <bkohler@gentoo.org>
Mon, 3 Jun 2019 15:59:50 +0000 (10:59 -0500)
committerBen Kohler <bkohler@gentoo.org>
Mon, 3 Jun 2019 16:00:09 +0000 (11:00 -0500)
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>
net-wireless/iwd/iwd-0.18.ebuild

index b1e62ae86e3bd46cda69acf6b7749e709b77a9f7..cee477d005ed6eeaa65b1777286f5a687c8680d3 100644 (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"