security/botan2: fix build on powerpc64
aes_power8.cpp needs VSX too apart from crypto: src/lib/block/aes/aes_power8/aes_power8.cpp:43:49: error: use of undeclared identifier 'vec_vsx_ld' return (Altivec64x2)reverse_vec((Altivec8x16)vec_vsx_ld(0, key));; ^ src/lib/block/aes/aes_power8/aes_power8.cpp:48:36: error: use of undeclared identifier 'vec_vsx_ld' return (Altivec64x2)reverse_vec(vec_vsx_ld(0, src));
This commit is contained in:
parent
eb0f9db327
commit
4122761a7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556441
11
security/botan2/files/patch-src_build-data_cc_clang.txt
Normal file
11
security/botan2/files/patch-src_build-data_cc_clang.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/build-data/cc/clang.txt.orig 2020-11-27 13:34:57 UTC
|
||||||
|
+++ src/build-data/cc/clang.txt
|
||||||
|
@@ -58,7 +58,7 @@ rdseed -> "-mrdseed"
|
||||||
|
sha -> "-msha"
|
||||||
|
altivec -> "-maltivec"
|
||||||
|
|
||||||
|
-ppc64:powercrypto -> "-mcrypto"
|
||||||
|
+ppc64:powercrypto -> "-mcrypto -mvsx"
|
||||||
|
ppc64:power9 -> "-mcpu=power9"
|
||||||
|
|
||||||
|
arm64:armv8crypto -> "-march=armv8+crypto"
|
Loading…
Reference in New Issue
Block a user