fix the big endian builds. Perhaps just remove the MAX define for everyone?

This commit is contained in:
christos 2015-03-15 18:58:09 +00:00
parent 9bfe573c47
commit 10b0e24ed5
1 changed files with 5 additions and 0 deletions

View File

@ -3,8 +3,13 @@ CPUID_SRCS = armv4cpuid.S armcap.c armv4-mont.S armv4-gf2m.S
CPUID = yes
CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
.if ${MACHINE_ARCH:M*armv4*} == ""
. if ${MACHINE_ARCH} == "earmeb"
CPPFLAGS += -D__ARM_MAX_ARCH__=5
. else
CPPFLAGS += -D__ARM_MAX_ARCH__=8
.endif
.else
CPPFLAGS += -D__ARM_MAX_ARCH__=4
.endif
.include "../../crypto.inc"