summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2004-03-30 11:30:02 +0000
committerdwmalone <dwmalone@FreeBSD.org>2004-03-30 11:30:02 +0000
commite4d2e331fbeecc104e5f8b112ab337954f7d63af (patch)
tree6ceaae0ab8015c568bd7c93b11157bfa92eff27e
parenta3ec925a30006481fb63746d778710ebead4848b (diff)
downloadFreeBSD-src-e4d2e331fbeecc104e5f8b112ab337954f7d63af.zip
FreeBSD-src-e4d2e331fbeecc104e5f8b112ab337954f7d63af.tar.gz
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
-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 41dc7ef..90b4a4d 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
OpenPOWER on IntegriCloud