[libcxx-commits] [PATCH] D58084: [CMake] Avoid passing -rtlib=compiler-rt when using compiler-rt
Petr Hosek via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 11 17:31:45 PST 2019
phosek added a comment.
In D58084#1394072 <https://reviews.llvm.org/D58084#1394072>, @smeenai wrote:
> I think the commit message could be clarified a bit. Something like
>
> We build libc++ and libc++abi with -nodefaultlibs, so -rtlib=compiler-rt has no
> effect and results in an 'argument unused during compilation' warning which
> breaks the build when using -Werror. We can therefore drop -rtlib=compiler-rt
> without any functional change; note that the actual compiler-rt linking is
> handled by HandleCompilerRT.
>
Done, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58084/new/
https://reviews.llvm.org/D58084
More information about the libcxx-commits
mailing list