summaryrefslogtreecommitdiff
path: root/tiger.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-21 13:57:37 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-21 13:57:37 -0400
commit6200029faae23710fa88638269e9272664509b91 (patch)
tree9e41722ab1106bb737e3b31f1de26d625e5dfa08 /tiger.h
parent1de8ca5774c2688f51b2c6e636a6507016ea8be9 (diff)
downloadcryptopp-git-6200029faae23710fa88638269e9272664509b91.tar.gz
Fix Clang 3.3 and 3.4 compiles (Issue 264)
Diffstat (limited to 'tiger.h')
-rw-r--r--tiger.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tiger.h b/tiger.h
index 395d7805..71e5964b 100644
--- a/tiger.h
+++ b/tiger.h
@@ -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>