summaryrefslogtreecommitdiff
path: root/lib/libssl/crypto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/crypto/Makefile')
-rw-r--r--lib/libssl/crypto/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/crypto/Makefile b/lib/libssl/crypto/Makefile
index 6994201d345..122496d9130 100644
--- a/lib/libssl/crypto/Makefile
+++ b/lib/libssl/crypto/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.47 2008/09/06 12:20:07 djm Exp $
+# $OpenBSD: Makefile,v 1.48 2008/09/07 19:22:21 deraadt Exp $
LIB= crypto
WANTLINT=
@@ -21,6 +21,10 @@ CFLAGS+= -DB_ENDIAN
CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H
.endif
+.if ${MACHINE_ARCH} == "sparc"
+PICFLAG=-fPIC
+.endif
+
CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH
# Patented algorithms
CFLAGS+= -DOPENSSL_NO_IDEA