Fix Apple M1 failed compile after GH #1015

This commit is contained in:
Jeffrey Walton 2021-03-09 15:06:19 -05:00
parent dc28413a04
commit 95f0d9d396
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
3 changed files with 6 additions and 2 deletions

View File

@ -159,6 +159,9 @@ ifneq ($(IS_DARWIN),0)
ARFLAGS = -static -o
endif
# Uncomment for debugging
# $(info Here's what we found... IS_X86: $(IS_X86), IS_X64: $(IS_X64), IS_ARM32: $(IS_ARM32), IS_ARMV8: $(IS_ARMV8))
###########################################################
##### General Variables #####
###########################################################

View File

@ -159,7 +159,8 @@ IS_X32 := 0
IS_PPC32 := 0
IS_PPC64 := 0
$(info Here's what we found... IS_X86: $(IS_X86), IS_X64: $(IS_X64), IS_ARM32: $(IS_ARM32), IS_ARMV8: $(IS_ARMV8))
# Uncomment for debugging
# $(info Here's what we found... IS_X86: $(IS_X86), IS_X64: $(IS_X64), IS_ARM32: $(IS_ARM32), IS_ARMV8: $(IS_ARMV8))
###########################################################
##### Test Program #####

View File

@ -33,11 +33,11 @@
// Android makes <arm_acle.h> available with ARMv7-a
#if (CRYPTOPP_BOOL_ARMV8)
# include "adv_simd.h"
# if (CRYPTOPP_ARM_NEON_HEADER)
# include <arm_neon.h>
# endif
# if (CRYPTOPP_ARM_ACLE_HEADER)
# include "adv_simd.h"
# include <stdint.h>
# include <arm_acle.h>
# endif