llvm.org GIT mirror llvm / 8033f61
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 Daniel Dunbar 7 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
299299 usage();
300300
301301 if (PrintLibs || PrintLibNames || PrintLibFiles) {
302 // If no components were specified, default to "all".
303 if (Components.empty())
304 Components.push_back("all");
305
302306 // Construct the list of all the required libraries.
303307 std::vector RequiredLibs;
304308 ComputeLibsForComponents(Components, RequiredLibs);