[llvm] [CMake] Make ELF library handling path default for libLLVM (PR #74698)

Brad Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 22:54:58 PST 2023


================
@@ -60,8 +53,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
       # inside and outside libLLVM.so.
       target_link_options(LLVM PRIVATE LINKER:-Bsymbolic-functions)
     endif()
-  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
-    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
   endif()
----------------
brad0 wrote:

Well yes, at the moment if you're not Apple or something ELF then it's not supported. There is AIX, and I guess I thought z/OS support was further along but I see not. But I don't understand how that would work here with CMake.

https://github.com/llvm/llvm-project/pull/74698


More information about the llvm-commits mailing list