Projects that want to statically link their own C++ standard library currently need to pass -nostdlib or -nodefaultlibs, which also disables linking of the builtins library, -lm, and so on. Alternatively, they could use clang instead of clang++, but that already disables implicit addition of -lm on some toolchains.
Add a dedicated flag -nostdlib++ that disables just linking of libc++ / libstdc++. This is analogous to -nostdinc++.
The message here doesn't really add any info. I think asserting without a message in this case is fine.