diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-29 03:05:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-29 03:05:34 +0000 |
commit | b1d07c4052be79849cdfe222f44050bbe7d708b3 (patch) | |
tree | f0ea51c3f440cd136b7491c3d72752a79727fbcd /lib | |
parent | bbd830e945c31399044c4b49fd8e37030a31875d (diff) |
cleanup byte order detection per arch a bit; mickey ok
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/crypto/Makefile | 18 |
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 |