[CMake] llvm lld "-shared" error
Joel Winarske
joel.winarske at gmail.com
Tue Jan 29 09:07:06 EST 2019
Never mind. I found the issue, which was un-related. I've been staring at
the screen too long...
On Tue, Jan 29, 2019 at 1:38 PM Joel Winarske <joel.winarske at gmail.com>
wrote:
> Hi,
>
> I'm hitting a problem linking with llvm lld. I've determined llvm lld
> v7.0.1 will fail with the parameter "-shared". The error manifests as:
>
>
> ld: unknown option:
> --sysroot=/Users/joel.winarske/git/clang_toolchain/sdk/sysroot
>
> If I manually issue the command, changing "-shared" to "--shared", it
> works fine.
>
> What variable can I override in my toolchain file to affect this?
>
>
> Thanks,
> Joel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190129/c9f566fa/attachment.html>
More information about the CMake
mailing list