diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-21 13:57:37 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-21 13:57:37 -0400 |
commit | 6200029faae23710fa88638269e9272664509b91 (patch) | |
tree | 9e41722ab1106bb737e3b31f1de26d625e5dfa08 /tiger.h | |
parent | 1de8ca5774c2688f51b2c6e636a6507016ea8be9 (diff) | |
download | cryptopp-git-6200029faae23710fa88638269e9272664509b91.tar.gz |
Fix Clang 3.3 and 3.4 compiles (Issue 264)
Diffstat (limited to 'tiger.h')
-rw-r--r-- | tiger.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -4,6 +4,12 @@ #include "config.h"
#include "iterhash.h"
+// 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
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
/// <a href="http://www.cryptolounge.org/wiki/Tiger">Tiger</a>
|