diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile index 00518d7..114e5f0 100644 --- a/nss/lib/freebl/Makefile +++ b/nss/lib/freebl/Makefile @@ -123,7 +123,14 @@ ifeq ($(CPU_ARCH),aarch64) DEFINES += -DUSE_HW_AES EXTRA_SRCS += aes-armv8.c gcm-aarch64.c endif + +# only enable neon and aes on arm v7 and v8 ifeq ($(CPU_ARCH),arm) + ifneq (,$(filter 7 8,$(shell $(CC) -dM -E -