git: bc96364a4d60 - stable/15 - Turn off PTHREAD assertions in stable/15

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 21:36:52 UTC
The branch stable/15 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=bc96364a4d604a5b37a00789ac16e8e32c75301c

commit bc96364a4d604a5b37a00789ac16e8e32c75301c
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-09-05 21:33:47 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-09-05 21:36:25 +0000

    Turn off PTHREAD assertions in stable/15
    
    Direct commit to stable/15; the assertions stay on in -CURRENT.
    
    Reported by:    Mark Millard
    Discussed with: kib
    Approved by:    re (implicit)
---
 share/man/man5/src.conf.5 | 6 +++---
 share/mk/src.opts.mk      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index fa3ab3bc63b0..aa6a85754a8c 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 September 4, 2025
+.Dd September 5, 2025
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -1514,8 +1514,8 @@ and related programs.
 Do not build
 .Xr ppp 8
 and related programs.
-.It Va WITHOUT_PTHREADS_ASSERTIONS
-Disable debugging assertions in pthreads library.
+.It Va WITH_PTHREADS_ASSERTIONS
+Enable debugging assertions in pthreads library.
 .It Va WITHOUT_QUOTAS
 Do not build
 .Xr quota 1
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 60fe42372faa..fe71796d2270 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -160,7 +160,6 @@ __DEFAULT_YES_OPTIONS = \
     PKGBOOTSTRAP \
     PMC \
     PPP \
-    PTHREADS_ASSERTIONS \
     QUOTAS \
     RADIUS_SUPPORT \
     RBOOTD \
@@ -215,6 +214,7 @@ __DEFAULT_NO_OPTIONS = \
     LLVM_FULL_DEBUGINFO \
     OFED_EXTRA \
     OPENLDAP \
+    PTHREADS_ASSERTIONS \
     RPCBIND_WARMSTART_SUPPORT \
     SORT_THREADS \
     ZONEINFO_LEAPSECONDS_SUPPORT \