diff options
author | Wyatt O'Day <wyatt@wyday.com> | 2017-08-30 16:42:36 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-30 16:42:36 -0400 |
commit | ffbedcefc5d2b436f5e85345ccd57e4615761b42 (patch) | |
tree | c99edeb3f1e6810a3e98229e23b11a6f73b8e9b7 /sha.cpp | |
parent | 23809a35761107dffd3cfec6adacafebf5219acc (diff) | |
download | cryptopp-git-ffbedcefc5d2b436f5e85345ccd57e4615761b42.tar.gz |
Fix build on FreeBSD 10.3 x86 with clang++ 3.4.1. (#483)
* Fix build on FreeBSD 10.3 x86 with clang++ v. 3.4.1. The x64 build (also clang++ 3.4.1) doesn't require CRYPTOPP_DISABLE_SHA_ASM. It seems to be a bug specific to the x86 version of clang++.
* Based on suggestion from @noloader, don't split x86/x64 clang++ version detection. Just wait until clang++ is consistently working in both x86/x64.
Diffstat (limited to 'sha.cpp')
-rw-r--r-- | sha.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,7 +43,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)
+// Clang 3.4.1 (x86) crash on FreeBSD 10.3. Clang 3.4.1 (x64) works fine.
+#if defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30500)
# define CRYPTOPP_DISABLE_SHA_ASM
#endif
|