summaryrefslogtreecommitdiff
path: root/security/cryptopp/files/patch-cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/cryptopp/files/patch-cpu.h')
-rw-r--r--security/cryptopp/files/patch-cpu.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/security/cryptopp/files/patch-cpu.h b/security/cryptopp/files/patch-cpu.h
deleted file mode 100644
index 11cc6b1df9fb..000000000000
--- a/security/cryptopp/files/patch-cpu.h
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix build with SIMD on FreeBSD 10.x
-
---- cpu.h.orig 2018-04-08 08:47:11 UTC
-+++ cpu.h
-@@ -614,7 +614,12 @@ inline int GetCacheLineSize()
- #define GNU_AS2(x, y) #x ", " #y ";" NEW_LINE
- #define GNU_AS3(x, y, z) #x ", " #y ", " #z ";" NEW_LINE
- #define GNU_ASL(x) "\n" #x ":" NEW_LINE
-+ // clang 5.0.0 and apple clang 9.0.0 don't support numerical backward jumps
-+#if (CRYPTOPP_LLVM_CLANG_VERSION >= 30000) || (CRYPTOPP_APPLE_CLANG_VERSION >= 90000)
-+ #define GNU_ASJ(x, y, z) ATT_PREFIX ";" NEW_LINE #x " " #y #z ";" NEW_LINE INTEL_PREFIX ";" NEW_LINE
-+#else
- #define GNU_ASJ(x, y, z) #x " " #y #z ";" NEW_LINE
-+#endif
- #define AS1(x) GNU_AS1(x)
- #define AS2(x, y) GNU_AS2(x, y)
- #define AS3(x, y, z) GNU_AS3(x, y, z)