aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorJon Roelofs <jonathan_roelofs@apple.com>2024-03-13 08:02:22 -0700
committerGitHub <noreply@github.com>2024-03-13 08:02:22 -0700
commit3c227a31dd1046db02323868b9690a6152cfb3b8 (patch)
tree0df100d750174430cc00998a1027cdad0758c807 /clang/lib/Basic/Module.cpp
parentf46f5a01f4d5a7dcaf4a8fde5fc44eafdd9dbf27 (diff)
downloadllvm-3c227a31dd1046db02323868b9690a6152cfb3b8.zip
llvm-3c227a31dd1046db02323868b9690a6152cfb3b8.tar.gz
llvm-3c227a31dd1046db02323868b9690a6152cfb3b8.tar.bz2
[cmake] Silence a duplicate libraries warning from Apple's linker (#85012)
ld: warning: ignoring duplicate libraries: This triggers quite frequently in llvm's build because CMake's library depends mechanism doesn't de-duplicate libraries on the link line. Duplication is necessary for ELF platforms, but means something subtly different on Darwin platforms, hence the warning. Since we don't have much control over that from CMake, just disable the warning wholesale whenever the linker is detected to support it.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions