<div dir="ltr">Hi,<div><br></div><div>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:</div><div> </div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> ld: unknown option: --sysroot=/Users/joel.winarske/git/clang_toolchain/sdk/sysroot</span></p></div><br class="gmail-Apple-interchange-newline"><div>If I manually issue the command, changing "-shared" to "--shared", it works fine.</div><div><br></div><div>What variable can I override in my toolchain file to affect this?</div><div><br></div><div><br></div><div>Thanks,</div><div>Joel</div><div><br></div></div>