[libc-commits] [libc] [libc]: Add `-Wglobal-constructors` for libc tests (PR #131485)
Vinay Deshmukh via libc-commits
libc-commits at lists.llvm.org
Sun Mar 30 06:53:52 PDT 2025
================
@@ -34,6 +34,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions("-D_DEBUG")
endif()
+add_compile_options("-Werror=global-constructors")
----------------
vinay-deshmukh wrote:
Will be removed before final PR,
https://github.com/llvm/llvm-project/pull/131485
More information about the libc-commits
mailing list