aboutsummaryrefslogtreecommitdiff
path: root/secure/lib
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2004-03-30 11:30:02 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2004-03-30 11:30:02 +0000
commit1251855f52a502d465941b59cc41d43f3dd5bf89 (patch)
tree6ceaae0ab8015c568bd7c93b11157bfa92eff27e /secure/lib
parent53090724b0346d512804e81e3d2530202f60a040 (diff)
downloadsrc-1251855f52a502d465941b59cc41d43f3dd5bf89.tar.gz
src-1251855f52a502d465941b59cc41d43f3dd5bf89.zip
Build OpenSSL so that it extects that is may be used in a threaded
environment. This stops some ports keeling over on an OpenSSL assert. (The patch is not exactly the one from the PR, but has been refined based on advice from freebsd-threads.) PR: 51205 Submitted by: Jim Westfall <jwestfall@surrealistic.net> MFC after: 1 month
Notes
Notes: svn path=/head/; revision=127616
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libcrypto/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 41dc7ef88f42..90b4a4d69dcf 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -5,6 +5,7 @@ LCRYPTO_DOC= ${.CURDIR}/../../../crypto/openssl/doc
CFLAGS+= -DTERMIOS -DANSI_SOURCE
CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR}
+CFLAGS+= -DOPENSSL_THREADS -pthread
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
CFLAGS+= -DOPENSSL_NO_IDEA