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:
parent
688dddaad9
commit
5c731db5f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user