PKGBUILDs/core/nss/0001-Don-t-USE_ARM_GCM.patch
2020-07-29 14:56:55 +00:00

27 lines
793 B
Diff

From bd8f3a94a96819bfbbf06d240abcbda3354e7623 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sun, 3 May 2020 13:15:03 -0600
Subject: [PATCH 1/2] Don't USE_ARM_GCM
---
lib/freebl/gcm.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lib/freebl/gcm.c b/lib/freebl/gcm.c
index c2cc18d91..c599031f1 100644
--- a/lib/freebl/gcm.c
+++ b/lib/freebl/gcm.c
@@ -22,10 +22,6 @@
#if defined(__aarch64__) && defined(IS_LITTLE_ENDIAN) && \
(defined(__clang__) || defined(__GNUC__) && __GNUC__ > 6)
#define USE_ARM_GCM
-#elif defined(__arm__) && defined(IS_LITTLE_ENDIAN) && \
- !defined(NSS_DISABLE_ARM32_NEON)
-/* We don't test on big endian platform, so disable this on big endian. */
-#define USE_ARM_GCM
#endif
/* Forward declarations */
--
2.24.1