Use CRYPTOPP_DISABLE_INTEL_ASM for Clang in GCM

Clang 6.0 is still broke. It cannot compile a simple "neg %rcx" using Intel syntax
pull/668/merge
Jeffrey Walton 2018-07-16 19:40:56 -04:00
parent 076d0cd604
commit e1433536bc
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
// Clang 3.3 integrated assembler crash on Linux. Other versions produce incorrect results.
// Clang has never handled Intel ASM very well. I wish LLVM would fix it.
#if defined(__clang__)
#if defined(CRYPTOPP_DISABLE_INTEL_ASM)
# undef CRYPTOPP_X86_ASM_AVAILABLE
# undef CRYPTOPP_X32_ASM_AVAILABLE
# undef CRYPTOPP_X64_ASM_AVAILABLE