summaryrefslogtreecommitdiff
path: root/tiger.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-07-21 06:36:15 -0400
committerJeffrey Walton <noloader@gmail.com>2018-07-21 06:36:15 -0400
commit61f1456a5ac5487ee3e927cbaeea0ee87db117f9 (patch)
tree97465d7f01e45e0fab7740d0e515e955a7e58ee1 /tiger.h
parentd4f86d73209c123fdcec1a91a619478c79362334 (diff)
downloadcryptopp-git-61f1456a5ac5487ee3e927cbaeea0ee87db117f9.tar.gz
Disable X32 inline ASM for Tiger
See Peter Cordes comments at Issue 686
Diffstat (limited to 'tiger.h')
-rw-r--r--tiger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tiger.h b/tiger.h
index 2e1d9343..d6349db8 100644
--- a/tiger.h
+++ b/tiger.h
@@ -12,8 +12,8 @@
// Clang 3.3 integrated assembler crash on Linux
// http://github.com/weidai11/cryptopp/issues/264
-#if defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)
-# define CRYPTOPP_DISABLE_TIGER_ASM
+#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || CRYPTOPP_BOOL_X32
+# define CRYPTOPP_DISABLE_TIGER_ASM 1
#endif
NAMESPACE_BEGIN(CryptoPP)