summaryrefslogtreecommitdiff
path: root/blake2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-11-24 01:11:54 -0500
committerJeffrey Walton <noloader@gmail.com>2018-11-24 01:11:54 -0500
commit727de927cc06f716f6e0caa4240e71ab11f3afc9 (patch)
tree1bcab8886ed037b697096ed4858c01eeee741d39 /blake2.cpp
parent064650d31eb51408907d1015e5e7c0e69edbf88a (diff)
downloadcryptopp-git-727de927cc06f716f6e0caa4240e71ab11f3afc9.tar.gz
Add CRYPTOPP_POWER7_ALTIVEC for XLC 12 on AIX workaround
Diffstat (limited to 'blake2.cpp')
-rw-r--r--blake2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/blake2.cpp b/blake2.cpp
index c3d7b4b0..eed9f59a 100644
--- a/blake2.cpp
+++ b/blake2.cpp
@@ -38,6 +38,7 @@
// https://github.com/weidai11/cryptopp/issues/743
#if defined(__xlC__) && (__xlC__ < 0x0d01)
# define CRYPTOPP_DISABLE_ALTIVEC 1
+# define CRYPTOPP_POWER7_ALTIVEC 1
# undef CRYPTOPP_POWER7_AVAILABLE
# undef CRYPTOPP_ALTIVEC_AVAILABLE
#endif