From 48da5a06db921b1d823c3d94cd76b423467e5400 Mon Sep 17 00:00:00 2001 From: Peter Avalos Date: Sat, 25 Sep 2010 15:53:50 -1000 Subject: [PATCH] OpenSSL: Define little endian on x86_64. We only support little endian archs, so remove the test, and just put it with the rest of CFLAGS. --- secure/lib/libcrypto/Makefile.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index f1aad5bfa9..6db607c7b2 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -5,14 +5,10 @@ OSSLVERSION= 0.9.8m LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl LCRYPTO_DOC= ${LCRYPTO_SRC}/doc -CFLAGS+= -DTERMIOS -DANSI_SOURCE +CFLAGS+= -DTERMIOS -DANSI_SOURCE -DL_ENDIAN CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto \ -I${LCRYPTO_SRC}/crypto/engine -I${.OBJDIR} -.if ${MACHINE_ARCH} == "i386" -CFLAGS+= -DL_ENDIAN -.endif - MANDIR= ${SHAREDIR}/openssl/man/man .if defined(LIB) -- 2.41.0