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
This commit is contained in:
David Malone 2004-03-30 11:30:02 +00:00
parent 53090724b0
commit 1251855f52

View File

@ -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