[PATCH] D37726: clang: alias -static-{libstdc++, libgcc} for LLVM variants

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 12 17:54:04 PDT 2018


rsmith added a comment.

It would be nice to have a flag here that's agnostic to the value supplied to `-rtlib` or `-stdlib`. Perhaps `-static-rtlib` (for either libgcc or compiler-rt) and `-static-stdlib` (for either libc++ or libstdc++). (Yes, it's bad that we use `stdlib` to mean "the C++ standard library", but that is the status quo.)


Repository:
  rL LLVM

https://reviews.llvm.org/D37726





More information about the cfe-commits mailing list