On Jun 21, 2022, Fangrui Song <mask...@google.com> wrote: > Is this similar to clang -nostdlib++ ? > When libstdc++ is selected, clang -nostdlib++ removes -lstdc++.
Sounds like they're the same indeed, but the clang option you mention makes little sense to me, so I'd rather to introduce the one that does. If someone feels offering this option with the same spelling as clang, it's easy enough to add a synonym. Now, if others feel we'd be better off following clang's practices, I don't mind adjusting the patch to use the same spelling. It's not like this option is going to have much use one way or another, aside from this testcase. -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about <https://stallmansupport.org>