summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-07-18 02:42:02 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-07-18 02:42:02 +0000
commitf557cd77f2bfe6782b821d27647a3f8011cb2e0f (patch)
treee93571ed0781191222283a4679273ed326d8be50 /usr.sbin
parentdc252a8b99e898c65ed864914e961fbea05e7dfc (diff)
Correct CFLAGS for vax; deraadt says ok.
NB future porters, default is still big endian.
Diffstat (limited to 'usr.sbin')
-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