diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-09-13 17:16:57 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-09-13 17:16:57 -0400 |
| commit | 8d984173064b360af57f60932bd7b4d3c3312eb4 (patch) | |
| tree | 0351d07579e21f946412cde7f44613b5950ca8f9 /sha-simd.cpp | |
| parent | 40859a80da32ed0974580871e2053c37c7817a3a (diff) | |
| download | cryptopp-git-8d984173064b360af57f60932bd7b4d3c3312eb4.tar.gz | |
Add Aarch64 specific defines to Android cross-compile
Move <arm_acle.h> logic into "sonfig.h". Detecting when we can/should include <arm_acle.h> is proving to be troublesome
Diffstat (limited to 'sha-simd.cpp')
| -rw-r--r-- | sha-simd.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sha-simd.cpp b/sha-simd.cpp index c756a4c6..d3a869d6 100644 --- a/sha-simd.cpp +++ b/sha-simd.cpp @@ -26,11 +26,7 @@ # include <arm_neon.h>
#endif
-// Don't include <arm_acle.h> when using Apple Clang. Early Apple compilers
-// fail to compile with <arm_acle.h> included. Later Apple compilers compile
-// intrinsics without <arm_acle.h> included. Also avoid it with GCC 4.8.
-#if (CRYPTOPP_ARM_SHA_AVAILABLE) && !defined(CRYPTOPP_APPLE_CLANG_VERSION) && \
- (!defined(CRYPTOPP_GCC_VERSION) || (CRYPTOPP_GCC_VERSION >= 40900))
+#if defined(CRYPTOPP_ARM_ACLE_AVAILABLE)
# include <arm_acle.h>
#endif
|
