[llvm] [CMake] Make ELF library handling path default for libLLVM (PR #74698)
Brad Smith via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 23:07:27 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:
Ok, that is what I thought you were getting at, but wanted clarification. I understand that. But the whole point was to eliminate the long list of OS's and one which will only keep growing and making it the fallback path.
I don't see any obvious way of detecting that these are ELF OS's with CMake.
https://github.com/llvm/llvm-project/pull/74698
More information about the llvm-commits
mailing list