View | Details | Raw Unified | Return to bug 243734 | Differences between
and this patch

Collapse All | Expand All

(-)security/nss/files/patch-bug1612177 (+11 lines)
Line 0 Link Here
1
--- lib/freebl/Makefile.orig	2020-02-01 11:10:18 UTC
2
+++ lib/freebl/Makefile
3
@@ -786,7 +786,7 @@ ifeq ($(CPU_ARCH),arm)
4
 # Confusingly, __SOFTFP__ is the name of the define for the softfloat ABI, not for the softfp ABI.
5
 USES_SOFTFLOAT_ABI := $(shell $(CC) -o - -E -dM - $(CFLAGS) < /dev/null | grep __SOFTFP__ > /dev/null && echo 1)
6
 $(OBJDIR)/$(PROG_PREFIX)aes-armv8$(OBJ_SUFFIX): CFLAGS += -march=armv8-a -mfpu=crypto-neon-fp-armv8$(if $(USES_SOFTFLOAT_ABI), -mfloat-abi=softfp)
7
-$(OBJDIR)/$(PROG_PREFIX)gcm-arm32-neon$(OBJ_SUFFIX): CFLAGS += -mfpu=neon$(if $(USES_SOFTFLOAT_ABI), -mfloat-abi=softfp)
8
+$(OBJDIR)/$(PROG_PREFIX)gcm-arm32-neon$(OBJ_SUFFIX): CFLAGS += -march=armv7-a -mfpu=neon$(if $(USES_SOFTFLOAT_ABI), -mfloat-abi=softfp)
9
 endif
10
 ifeq ($(CPU_ARCH),aarch64)
11
 $(OBJDIR)/$(PROG_PREFIX)aes-armv8$(OBJ_SUFFIX): CFLAGS += -march=armv8-a+crypto

Return to bug 243734