mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
llvm-config: Default to "all" if no components are specified.
- Fixes PR11530. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146388 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62e5b4064b
commit
8033f6197c
@ -300,6 +300,10 @@ int main(int argc, char **argv) {
|
||||
usage();
|
||||
|
||||
if (PrintLibs || PrintLibNames || PrintLibFiles) {
|
||||
// If no components were specified, default to "all".
|
||||
if (Components.empty())
|
||||
Components.push_back("all");
|
||||
|
||||
// Construct the list of all the required libraries.
|
||||
std::vector<StringRef> RequiredLibs;
|
||||
ComputeLibsForComponents(Components, RequiredLibs);
|
||||
|
Loading…
Reference in New Issue
Block a user