[PATCH] D40771: [WebAssembly] Remove used --sysroot option

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 3 09:18:14 PST 2017


sbc100 added a comment.

I'm not removing --sysroot from the toolchain (i.e. clang and the driver), only from lld.   In lld only the ELF driver supports sysroot and the only thing is provides is that ability for the user to pass special -L flag with = at the start.  i.e. -L=/path/in/sysroot.   Do you think this is useful feature?   Normally the sysroot library paths are constructed by clang based on the --sysroot you pass to it, and are fully expanded by the time the linker sees them.


https://reviews.llvm.org/D40771





More information about the llvm-commits mailing list