summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>1998-10-12 05:26:12 +0000
committerbeck <beck@openbsd.org>1998-10-12 05:26:12 +0000
commitbeebd3103da1560f83b074e02eb060945868b079 (patch)
treef73155ad69ff9e94b0546cef15c43b319be5256e /lib/libssl/ssl
parentWhile It would be a really nice thing to have nested interrupts, (diff)
downloadwireguard-openbsd-beebd3103da1560f83b074e02eb060945868b079.tar.xz
wireguard-openbsd-beebd3103da1560f83b074e02eb060945868b079.zip
*UNTESTED* Makefile and configure changes that may work with pmax and arc.
*These need to be tested by someone who has one!!*
Diffstat (limited to 'lib/libssl/ssl')
-rw-r--r--lib/libssl/ssl/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libssl/ssl/Makefile b/lib/libssl/ssl/Makefile
index facbfa9ca7a..6fffdd9ef22 100644
--- a/lib/libssl/ssl/Makefile
+++ b/lib/libssl/ssl/Makefile
@@ -9,12 +9,21 @@ 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}
CFLAGS+= -I${LSSL_SRC} -I${LCRYPTO_SRC}