diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index 2dd42c572a4..5921a5d7108 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,5 +1,5 @@ .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. -.Dd April 22, 2026 +.Dd May 28, 2026 .Dt SRC.CONF 5 .Os .Sh NAME @@ -1514,12 +1514,12 @@ is set explicitly) Do not include kernel TLS support in OpenSSL. .Pp This is a default setting on -arm/armv7, i386/i386 and riscv/riscv64. +arm/armv7 and i386/i386. .It Va WITH_OPENSSL_KTLS Include kernel TLS support in OpenSSL. .Pp This is a default setting on -amd64/amd64, arm64/aarch64, powerpc/powerpc64 and powerpc/powerpc64le. +amd64/amd64, arm64/aarch64, powerpc/powerpc64, powerpc/powerpc64le and riscv/riscv64. .It Va WITHOUT_PAM Do not build PAM library and modules. .Bf -symbolic diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 1fd63eb0db3..6efc686f0a1 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -346,8 +346,8 @@ BROKEN_OPTIONS+=LOADER_IA32 BROKEN_OPTIONS+=LOADER_GELI LOADER_LUA .endif -# Kernel TLS is enabled by default on amd64, aarch64 and powerpc64* -.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T:Mpowerpc64*} != "" +# Kernel TLS is enabled by default on amd64, aarch64, powerpc64*, and riscv64* +.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T:Mpowerpc64*} != "" || ${__T:Mriscv64*} != "" __DEFAULT_YES_OPTIONS+=OPENSSL_KTLS .else __DEFAULT_NO_OPTIONS+=OPENSSL_KTLS