diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-07-21 06:36:15 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-21 06:36:15 -0400 |
commit | 61f1456a5ac5487ee3e927cbaeea0ee87db117f9 (patch) | |
tree | 97465d7f01e45e0fab7740d0e515e955a7e58ee1 /tiger.h | |
parent | d4f86d73209c123fdcec1a91a619478c79362334 (diff) | |
download | cryptopp-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)
|