summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/nostdlibxx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Driver] Also obey -nostdlib++ when rewriting -lstdc++.Dan Albert2018-12-181-0/+9
| | | | | | | | | | | | Reviewers: pirama Reviewed By: pirama Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D55856 llvm-svn: 349570
* Introduce -nostdlib++ flag to disable linking the C++ standard library.Nico Weber2017-07-251-0/+8
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++. https://reviews.llvm.org/D35780 llvm-svn: 308997
OpenPOWER on IntegriCloud