[PATCH] D119655: [Driver][NetBSD] -r: imply -nostdlib like GCC
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 13 23:44:49 PST 2022
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
In D119655#3318003 <https://reviews.llvm.org/D119655#3318003>, @joerg wrote:
> I'm ambivalent about this change. To me, it falls into the category of "stop passing random ld options to the compiler driver".
It's not only about options, but also some crt files. Very few projects assume the behavior and for the few, not implying -nostdlib for -r will cause them some portability inconvenience.
Well, you maintain the NetBSD part and can certainly disagree :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119655/new/
https://reviews.llvm.org/D119655
More information about the cfe-commits
mailing list