From: Ben Kohler Date: Mon, 3 Jun 2019 15:59:50 +0000 (-0500) Subject: net-wireless/iwd: only check for *_SSSE3 options on amd64 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d28332748e0504761bdd4cd19ef2cd596cb9adeb;p=gentoo.git 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 --- diff --git a/net-wireless/iwd/iwd-0.18.ebuild b/net-wireless/iwd/iwd-0.18.ebuild index b1e62ae86e3b..cee477d005ed 100644 --- a/net-wireless/iwd/iwd-0.18.ebuild +++ b/net-wireless/iwd/iwd-0.18.ebuild @@ -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"