[clang] [CMake] Enable -Werror=global-constructors for clang/lib (PR #246753)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 27 13:48:19 PST 2026
================
@@ -1,3 +1,10 @@
+# HAS_WERROR_GLOBAL_CTORS and LLVM_HAS_NOGLOBAL_CTOR_MUTEX are set by
+# llvm/lib/Support/CMakeLists.txt.
----------------
efriedma-quic wrote:
Can we safely assume llvm/lib/Support/CMakeLists.txt has executed here? I think it's possible to build clang separately from LLVM.
https://github.com/llvm/llvm-project/pull/246753
More information about the cfe-commits
mailing list