Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 2026 18:03:21 +0000
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 52fcb9a9126e - stable/15 - lib/clang: Fix bootstrapping on macOS after LLVM 21 merge
Message-ID:  <6a74cc69.32f55.74ae9faf@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by jrtc27:

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

commit 52fcb9a9126e501f52f4aed6dcaa0f9df950a9ee
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2026-05-01 16:55:28 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2026-08-06 18:02:04 +0000

    lib/clang: Fix bootstrapping on macOS after LLVM 21 merge
    
    Fixes:          770cf0a5f02d ("Fixups after llvm-project main llvmorg-21-init-19288-gface93e724f4 merge")
    MFC after:      1 month
    
    (cherry picked from commit 50bd6ee0cce9d3959828b0267b06ea0403781f41)
---
 lib/clang/include/llvm/Config/config.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index 0aea32fa9dce..c11e78f74caf 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -114,12 +114,12 @@
 #define HAVE_PTHREAD_SETNAME_NP 1
 
 /* Define to 1 if you have the `pthread_get_name_np' function. */
-#if !defined(__linux__)
+#if defined(__FreeBSD__)
 #define HAVE_PTHREAD_GET_NAME_NP 1
 #endif
 
 /* Define to 1 if you have the `pthread_set_name_np' function. */
-#if !defined(__linux__)
+#if defined(__FreeBSD__)
 #define HAVE_PTHREAD_SET_NAME_NP 1
 #endif
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a74cc69.32f55.74ae9faf>