mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Revert "[lldb][cmake] Also use local submodule visibility on Darwin"
This reverts commit 8baa0b9439b5788bc5a0a2ee45dfda01b7a5a43f. This broke the LLDB Green Dragon bot where htonl is getting miscompiled on macOS 10.14 and 10.15 SDKs, causing networking tests to fail as IP addressed were being inverted (e.g., 127.0.0.1 became 1.0.0.127 with an enabled modules build). Reverting until this is fixed.
This commit is contained in:
parent
43fe513d70
commit
6a5768da2a
@ -401,10 +401,11 @@ option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
|
||||
option(LLVM_ENABLE_MODULES "Compile with C++ modules enabled." OFF)
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
option(LLVM_ENABLE_MODULE_DEBUGGING "Compile with -gmodules." ON)
|
||||
option(LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY "Compile with -fmodules-local-submodule-visibility." OFF)
|
||||
else()
|
||||
option(LLVM_ENABLE_MODULE_DEBUGGING "Compile with -gmodules." OFF)
|
||||
option(LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY "Compile with -fmodules-local-submodule-visibility." ON)
|
||||
endif()
|
||||
option(LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY "Compile with -fmodules-local-submodule-visibility." ON)
|
||||
option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
|
||||
option(LLVM_STATIC_LINK_CXX_STDLIB "Statically link the standard library." OFF)
|
||||
option(LLVM_ENABLE_LLD "Use lld as C and C++ linker." OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user