summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhugh <hugh@openbsd.org>2002-07-18 02:42:01 +0000
committerhugh <hugh@openbsd.org>2002-07-18 02:42:01 +0000
commit5ccea7d55182db75d0770e4ab92354b523c98c76 (patch)
tree733954bc4627566cc691080099a6fc76ebfe23d6
parentMatch compatible sab82532 (diff)
downloadwireguard-openbsd-5ccea7d55182db75d0770e4ab92354b523c98c76.tar.xz
wireguard-openbsd-5ccea7d55182db75d0770e4ab92354b523c98c76.zip
Correct CFLAGS for vax; deraadt says ok.
NB future porters, default is still big endian.
-rw-r--r--usr.sbin/openssl/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/openssl/Makefile b/usr.sbin/openssl/Makefile
index 8c58dde7abd..fa280d2f59b 100644
--- a/usr.sbin/openssl/Makefile
+++ b/usr.sbin/openssl/Makefile
@@ -16,10 +16,8 @@ SSLEAY_SRC_TOP= ${.CURDIR}/../../${SSLEAYDIST}
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -g -DL_ENDIAN -DBN_ASM
.else
-.if ${MACHINE_ARCH} == "arc"
-CFLAGS+= -DL_ENDIAN
-.else
-.if ${MACHINE_ARCH} == "pmax"
+.if (${MACHINE_ARCH} == "arc") || (${MACHINE_ARCH} == "pmax") || \
+ (${MACHINE_ARCH} == "vax")
CFLAGS+= -DL_ENDIAN
.else
.if ${MACHINE_ARCH} == "alpha"
@@ -28,7 +26,6 @@ CFLAGS+= -DL_ENDIAN
CFLAGS+= -DB_ENDIAN
.endif
.endif
-.endif
.endif
CFLAGS+= -DMONOLITH -DOPENSSL_NO_IDEA -DTERMIOS -DANSI_SOURCE -DOPENSSL_NO_RC5