[clang] [llvm] [LinkerWrapper] Always pass `-flto` if the linker supports it (PR #102972)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 13 18:45:18 PDT 2024
jhuber6 wrote:
> This caused a nvlink error with clang. This was found by a OpenMP CI https://gitlab.e4s.io/uo-public/llvm-openmp-offloading/-/jobs/301520
Probably an LTO flag I forgot to handle correctly, can you compile it with `-v` to show what it's passing?
https://github.com/llvm/llvm-project/pull/102972
More information about the cfe-commits
mailing list