summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libssl/crypto/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/lib/libssl/crypto/Makefile b/lib/libssl/crypto/Makefile
index c5f6eb86345..5179b85de77 100644
--- a/lib/libssl/crypto/Makefile
+++ b/lib/libssl/crypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.34 2004/01/23 17:02:25 hshoexer Exp $
+# $OpenBSD: Makefile,v 1.35 2004/01/29 03:05:33 deraadt Exp $
LIB= crypto
@@ -6,22 +6,12 @@ SSLEAYDIST= src
SSL_SRC= ${.CURDIR}/../${SSLEAYDIST}
LCRYPTO_SRC= ${SSL_SRC}/crypto
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm" || \
+ ${MACHINE_ARCH} == "vax" || ${MACHINE_ARCH} == "x86_64" || \
+ ${MACHINE_ARCH} == "alpha"
CFLAGS+= -DL_ENDIAN
.else
-.if ${MACHINE_ARCH} == "mips"
-CFLAGS+= -DL_ENDIAN
-.else
-.if ${MACHINE_ARCH} == "vax"
-CFLAGS+= -DL_ENDIAN
-.else
-.if ${MACHINE_ARCH} == "alpha"
-# no ENDIAN stuff defined for alpha
-.else
CFLAGS+= -DB_ENDIAN
-.endif
-.endif
-.endif
.endif
CFLAGS+= -DOPENSSL_NO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR -DOPENSSL_NO_ASM