Disable Panama ASM on X86 (GH #758)

pull/759/head
Jeffrey Walton 2018-12-06 18:28:56 -05:00
parent f74b8c8344
commit 08aa7724cd
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 6 additions and 3 deletions

View File

@ -11,9 +11,12 @@
#include "secblock.h" #include "secblock.h"
// Clang 3.3 integrated assembler crash on Linux. Clang 3.4 due to compiler error with .intel_syntax // Clang 3.3 integrated assembler crash on Linux. Clang 3.4 due to compiler error with .intel_syntax
#if CRYPTOPP_BOOL_X32 || defined(CRYPTOPP_DISABLE_MIXED_ASM) //#if CRYPTOPP_BOOL_X32 || defined(CRYPTOPP_DISABLE_MIXED_ASM)
# define CRYPTOPP_DISABLE_PANAMA_ASM //# define CRYPTOPP_DISABLE_PANAMA_ASM
#endif //#endif
// https://github.com/weidai11/cryptopp/issues/758
#define CRYPTOPP_DISABLE_PANAMA_ASM 1
NAMESPACE_BEGIN(CryptoPP) NAMESPACE_BEGIN(CryptoPP)