From 61f1456a5ac5487ee3e927cbaeea0ee87db117f9 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 21 Jul 2018 06:36:15 -0400 Subject: Disable X32 inline ASM for Tiger See Peter Cordes comments at Issue 686 --- tiger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tiger.h') 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) -- cgit v1.2.1