[CMake] llvm lld "-shared" error
Joel Winarske
joel.winarske at gmail.com
Tue Jan 29 08:38:23 EST 2019
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/fa541727/attachment.html>
More information about the CMake
mailing list