mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-libs/libgcrypt: add cpu_flags_ppc_vsx2
to control new configure knob
--disable-ppc-crypto-support
Disable support for the PPC crypto instructions
introduced in POWER 8 (PowerISA 2.07)
Closes: https://bugs.gentoo.org/825722
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
SLOT="0/20" # subslot = soname major version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+asm cpu_flags_arm_neon cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_padlock cpu_flags_x86_sha cpu_flags_x86_sse4_1 doc o-flag-munging static-libs"
|
||||
IUSE="+asm cpu_flags_arm_neon cpu_flags_ppc_vsx2 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_padlock cpu_flags_x86_sha cpu_flags_x86_sse4_1 doc o-flag-munging static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
@@ -44,6 +44,7 @@ multilib_src_configure() {
|
||||
|
||||
--enable-noexecstack
|
||||
$(use_enable cpu_flags_arm_neon neon-support)
|
||||
$(use_enable cpu_flags_ppc_vsx2 ppc-crypto-support)
|
||||
$(use_enable cpu_flags_x86_aes aesni-support)
|
||||
$(use_enable cpu_flags_x86_avx avx-support)
|
||||
$(use_enable cpu_flags_x86_avx2 avx2-support)
|
||||
|
||||
Reference in New Issue
Block a user