diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2004-03-30 11:30:02 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2004-03-30 11:30:02 +0000 |
commit | e4d2e331fbeecc104e5f8b112ab337954f7d63af (patch) | |
tree | 6ceaae0ab8015c568bd7c93b11157bfa92eff27e /secure | |
parent | a3ec925a30006481fb63746d778710ebead4848b (diff) | |
download | FreeBSD-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
Diffstat (limited to 'secure')
-rw-r--r-- | secure/lib/libcrypto/Makefile.inc | 1 |
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 |