Use CRYPTOPP_DISABLE_INTEL_ASM for Clang in GCM
Clang 6.0 is still broke. It cannot compile a simple "neg %rcx" using Intel syntaxpull/668/merge
parent
076d0cd604
commit
e1433536bc
2
gcm.cpp
2
gcm.cpp
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue