mirror of
https://git.freebsd.org/src.git
synced 2026-01-12 06:54:03 +00:00
openssl: Disable KTLS in bootstrap libraries
We need to build OpenSSL when bootstrapping certctl. On MacOS ktls_enable() isn't defined anywhere, so without this the build fails. We don't need KTLS in the bootstrap library, so just disable it. Reviewed by: khorben, ngie Differential Revision: https://reviews.freebsd.org/D52341
This commit is contained in:
parent
d3462294c1
commit
407c4d1eeb
2 changed files with 3 additions and 2 deletions
|
|
@ -649,10 +649,11 @@ _cmd1=/%%NO_ASM%%/d
|
|||
.else
|
||||
_cmd1=s/%%NO_ASM%%//
|
||||
.endif
|
||||
.if ${MK_OPENSSL_KTLS} != "no"
|
||||
.if ${MK_OPENSSL_KTLS} != "no" && !defined(BOOTSTRAPPING)
|
||||
_cmd2=/%%NO_KTLS%%/d
|
||||
.else
|
||||
_cmd2=s/%%NO_KTLS%%//
|
||||
CFLAGS+= -DOPENSSL_NO_KTLS
|
||||
.endif
|
||||
|
||||
buildinf.h: Makefile
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ SRSC+= tls_pad.c
|
|||
SRCS+= poll_immediate.c
|
||||
SRCS+= rio_notifier.c poll_builder.c
|
||||
|
||||
.if ${MK_OPENSSL_KTLS} == "no"
|
||||
.if ${MK_OPENSSL_KTLS} == "no" || defined(BOOTSTRAPPING)
|
||||
CFLAGS+=-DOPENSSL_NO_KTLS
|
||||
.else
|
||||
SRCS+= ktls_meth.c
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue