We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eb2e9a commit df7d9c8Copy full SHA for df7d9c8
llvm/lib/Support/CMakeLists.txt
@@ -1,11 +1,5 @@
1
include(GetLibraryName)
2
3
-# Ensure that libSupport does not carry any static global initializer.
4
-# libSupport can be embedded in use cases where we don't want to load all
5
-# cl::opt unless we want to parse the command line.
6
-# ManagedStatic can be used to enable lazy-initialization of globals.
7
-add_flag_if_supported("-Werror=global-constructors" WERROR_GLOBAL_CONSTRUCTOR)
8
-
9
if(LLVM_ENABLE_ZLIB)
10
set(imported_libs ZLIB::ZLIB)
11
endif()
0 commit comments