[PATCH] D83721: [LLD] [MinGW] Ignore the --[no-]allow-shlib-undefined option
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 14 13:51:17 PDT 2020
MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.
> For compatibility with GNU ld, just ignore this option, as there may be other projects out there that also blindly pass this option to the linker, even though it makes no sense for a windows target.
This is because GNU ld handles most options in one getopt_long/getopt_long_only. Many ELF specific options are handled by non-ELF ports and ignored. Some newer options use `-z` which is only handled by its ELF ports.
--allow-shlib-undefined is so rare that we should ask the projects to fix their build systems.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83721/new/
https://reviews.llvm.org/D83721
More information about the llvm-commits
mailing list