summaryrefslogtreecommitdiff
path: root/dev-libs/nettle/nettle-3.10.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/nettle/nettle-3.10.ebuild')
-rw-r--r--dev-libs/nettle/nettle-3.10.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-libs/nettle/nettle-3.10.ebuild b/dev-libs/nettle/nettle-3.10.ebuild
index b79aa1e683e3..52f51dfba2af 100644
--- a/dev-libs/nettle/nettle-3.10.ebuild
+++ b/dev-libs/nettle/nettle-3.10.ebuild
@@ -14,7 +14,7 @@ SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )"
LICENSE="|| ( LGPL-3 LGPL-2.1 )"
# Subslot = libnettle - libhogweed soname version
SLOT="0/8-6"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="+asm doc +gmp static-libs cpu_flags_arm_neon cpu_flags_arm_aes cpu_flags_arm_sha1 cpu_flags_arm_sha2 cpu_flags_ppc_altivec cpu_flags_ppc_vsx2 cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul"
# The arm64 crypto option controls AES, SHA1, and SHA2 usage.
REQUIRED_USE="
@@ -89,7 +89,7 @@ multilib_src_configure() {
)
# https://git.lysator.liu.se/nettle/nettle/-/issues/7
- if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" "${CPPFLAGS}" "${CFLAGS}" ; then
+ if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then
ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7."
ewarn "Disabling, sorry! See bug #920234."
myeconfargs+=( --disable-power-altivec )