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

2018-12-04 Thread Martell Malone via Phabricator via cfe-commits
martell abandoned this revision. martell added a comment. Dropping in favour of D53238 Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D37726/new/ https://reviews.llvm.org/D37726 ___

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

2018-10-12 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay added a comment. In https://reviews.llvm.org/D37726#1264233, @rsmith wrote: > 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

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

2018-10-12 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
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++

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

2017-09-11 Thread Martell Malone via Phabricator via cfe-commits
martell created this revision. Alias `-static-compiler-rt` and `static-libc++` to their gcc counterparts. Currently invoking `-static-libgcc` or `-static-libstdc++` will ensure only use of static libs. In future if we want to do more accurate handling with better behaviour with the linker we