1 |
commit: 7f0c9506e115eb23918e65386e83dd1d32b82b66 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 18 14:53:49 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 19 18:09:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f0c9506 |
7 |
|
8 |
dev-libs/crypto++: [QA] Revert cpu_flags_x86_sha removal |
9 |
|
10 |
Reverts: a1cd4b52d4fcb499ea4416c17dd2638e2362b70e |
11 |
Reverts: 57980c409d0770cf99b2b9ab89e1b02220c5a4fa |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
dev-libs/crypto++/crypto++-8.2.0-r2.ebuild | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/crypto++/crypto++-8.2.0-r2.ebuild b/dev-libs/crypto++/crypto++-8.2.0-r2.ebuild |
18 |
index 17988c37722..41b85ded021 100644 |
19 |
--- a/dev-libs/crypto++/crypto++-8.2.0-r2.ebuild |
20 |
+++ b/dev-libs/crypto++/crypto++-8.2.0-r2.ebuild |
21 |
@@ -12,7 +12,7 @@ SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip" |
22 |
LICENSE="Boost-1.0" |
23 |
SLOT="0/8" # subslot is so version |
24 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" |
25 |
-IUSE="+asm cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_pclmul cpu_flags_x86_sse2 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 static-libs" |
26 |
+IUSE="+asm cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_pclmul cpu_flags_x86_sha cpu_flags_x86_sse2 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 static-libs" |
27 |
|
28 |
BDEPEND="app-arch/unzip" |
29 |
|
30 |
@@ -40,7 +40,7 @@ src_prepare() { |
31 |
use cpu_flags_x86_avx || config_add CRYPTOPP_DISABLE_AVX |
32 |
use cpu_flags_x86_avx2 || config_add CRYPTOPP_DISABLE_AVX2 |
33 |
use cpu_flags_x86_pclmul || config_add CRYPTOPP_DISABLE_CLMUL |
34 |
- false || config_add CRYPTOPP_DISABLE_SHANI |
35 |
+ use cpu_flags_x86_sha || config_add CRYPTOPP_DISABLE_SHANI |
36 |
use cpu_flags_x86_sse2 || config_add CRYPTOPP_DISABLE_SSE2 |
37 |
use cpu_flags_x86_sse4_2 || config_add CRYPTOPP_DISABLE_SSE4 |
38 |
use cpu_flags_x86_ssse3 || config_add CRYPTOPP_DISABLE_SSSE3 |