mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
dev-libs/nettle: Sync with Gentoo
It's from Gentoo commit 7bd5f73712cedd79493e2b3e3447562191202ee0.
This commit is contained in:
parent
0139cb6b9c
commit
b4ab7c5d14
@ -15,7 +15,7 @@ LICENSE="|| ( LGPL-3 LGPL-2.1 )"
|
|||||||
# Subslot = libnettle - libhogweed soname version
|
# Subslot = libnettle - libhogweed soname version
|
||||||
SLOT="0/8-6"
|
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_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul"
|
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.
|
# The arm64 crypto option controls AES, SHA1, and SHA2 usage.
|
||||||
REQUIRED_USE="
|
REQUIRED_USE="
|
||||||
cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 )
|
cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 )
|
||||||
@ -63,13 +63,11 @@ multilib_src_configure() {
|
|||||||
$(use_enable cpu_flags_arm_neon arm-neon)
|
$(use_enable cpu_flags_arm_neon arm-neon)
|
||||||
$(use_enable cpu_flags_arm_aes arm64-crypto)
|
$(use_enable cpu_flags_arm_aes arm64-crypto)
|
||||||
$(use_enable cpu_flags_ppc_altivec power-altivec)
|
$(use_enable cpu_flags_ppc_altivec power-altivec)
|
||||||
|
$(use_enable cpu_flags_ppc_vsx2 power-crypto-ext)
|
||||||
|
$(use_enable cpu_flags_ppc_vsx3 power9)
|
||||||
$(use_enable cpu_flags_x86_aes x86-aesni)
|
$(use_enable cpu_flags_x86_aes x86-aesni)
|
||||||
$(use_enable cpu_flags_x86_sha x86-sha-ni)
|
$(use_enable cpu_flags_x86_sha x86-sha-ni)
|
||||||
$(use_enable cpu_flags_x86_pclmul x86-pclmul)
|
$(use_enable cpu_flags_x86_pclmul x86-pclmul)
|
||||||
# TODO: PPC crypto flag?
|
|
||||||
--disable-power-crypto-ext
|
|
||||||
# TODO: How do we detect this in ebuilds reliably?
|
|
||||||
--disable-power9
|
|
||||||
$([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions')
|
$([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions')
|
||||||
# TODO: cpu_flags_s390?
|
# TODO: cpu_flags_s390?
|
||||||
--disable-s390x-vf
|
--disable-s390x-vf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user