mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
Revert "Build libSupport with -Werror=global-constructors (NFC)"
This reverts commit 1f71bcabb77df482cc0dc7bab90a73e15f3e347b. Some platform have global destructors for std::mutex that still needs to be fixed.
This commit is contained in:
parent
e0b66fa459
commit
736e0957dc
@ -1,11 +1,5 @@
|
||||
include(GetLibraryName)
|
||||
|
||||
# Ensure that libSupport does not carry any static global initializer.
|
||||
# libSupport can be embedded in use cases where we don't want to load all
|
||||
# cl::opt unless we want to parse the command line.
|
||||
# ManagedStatic can be used to enable lazy-initialization of globals.
|
||||
add_flag_if_supported("-Werror=global-constructors" WERROR_GLOBAL_CONSTRUCTOR)
|
||||
|
||||
if(LLVM_ENABLE_ZLIB)
|
||||
set(imported_libs ZLIB::ZLIB)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user