summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/crypto/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libcrypto/crypto/Makefile b/src/lib/libcrypto/crypto/Makefile
index 31cab709d9..f46702b7eb 100644
--- a/src/lib/libcrypto/crypto/Makefile
+++ b/src/lib/libcrypto/crypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.25 2014/04/18 17:32:31 miod Exp $ 1# $OpenBSD: Makefile,v 1.26 2014/04/18 19:41:21 miod Exp $
2 2
3LIB= crypto 3LIB= crypto
4 4
@@ -7,16 +7,6 @@ LCRYPTO_SRC= ${SSL_SRC}/crypto
7 7
8CFLAGS+= -Wall 8CFLAGS+= -Wall
9 9
10# arm and sh default to little endian, mips defaults to big endian
11.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
12 ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \
13 ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "sh" || \
14 ${MACHINE_ARCH} == "vax"
15CFLAGS+= -DL_ENDIAN
16.else
17CFLAGS+= -DB_ENDIAN
18.endif
19
20.include <bsd.own.mk> # for 'NOPIC' definition 10.include <bsd.own.mk> # for 'NOPIC' definition
21.if !defined(NOPIC) 11.if !defined(NOPIC)
22CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H 12CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H