summaryrefslogtreecommitdiff
path: root/lib/libssl/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/crypto')
-rw-r--r--lib/libssl/crypto/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libssl/crypto/Makefile b/lib/libssl/crypto/Makefile
index 214c1e2350a..fc1a092225b 100644
--- a/lib/libssl/crypto/Makefile
+++ b/lib/libssl/crypto/Makefile
@@ -8,12 +8,20 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -DL_ENDIAN -DBN_ASM
.else
+.if ${MACHINE_ARCH} == "arc"
+CFLAGS+= -DL_ENDIAN
+.else
+.if ${MACHINE_ARCH} == "pmax"
+CFLAGS+= -DL_ENDIAN
+.else
.if ${MACHINE_ARCH} == "alpha"
# no ENDIAN stuff defined for alpha
.else
CFLAGS+= -DB_ENDIAN
.endif
.endif
+.endif
+.endif
CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE
CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}