Skip to content

Commit

Permalink
Force WOLFSSL_AARCH64_PRIVILEGE_MODE for AARCH64 to resolve cpuid.c…
Browse files Browse the repository at this point in the history
… issues.
  • Loading branch information
dgarske committed Jan 3, 2025
1 parent a171090 commit 1468a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ifeq ($(ARCH),AARCH64)
endif
ifeq ($(NO_ARM_ASM),0)
ARCH_FLAGS=-mstrict-align
CFLAGS+=$(ARCH_FLAGS) -DWOLFSSL_ARMASM -DWOLFSSL_ARMASM_INLINE -DWC_HASH_DATA_ALIGNMENT=8
CFLAGS+=$(ARCH_FLAGS) -DWOLFSSL_ARMASM -DWOLFSSL_ARMASM_INLINE -DWC_HASH_DATA_ALIGNMENT=8 -DWOLFSSL_AARCH64_PRIVILEGE_MODE
WOLFCRYPT_OBJS += lib/wolfssl/wolfcrypt/src/cpuid.o \
lib/wolfssl/wolfcrypt/src/port/arm/armv8-sha256.o \
lib/wolfssl/wolfcrypt/src/port/arm/armv8-sha512.o \
Expand Down

0 comments on commit 1468a92

Please sign in to comment.