forked from OSchip/llvm-project
Only print the selected multilib when something is actually found on the host.
llvm-svn: 201709
This commit is contained in:
parent
c30e764942
commit
e3f902c32a
|
@ -82,6 +82,10 @@ public:
|
|||
/// Check whether any of the 'against' flags contradict the 'for' flags.
|
||||
bool isValid() const;
|
||||
|
||||
/// Check whether the default is selected
|
||||
bool isDefault() const
|
||||
{ return GCCSuffix.empty() && OSSuffix.empty() && IncludeSuffix.empty(); }
|
||||
|
||||
bool operator==(const Multilib &Other) const;
|
||||
};
|
||||
|
||||
|
|
|
@ -1263,12 +1263,16 @@ void Generic_GCC::GCCInstallationDetector::print(raw_ostream &OS) const {
|
|||
I != E; ++I)
|
||||
OS << "Found candidate GCC installation: " << *I << "\n";
|
||||
|
||||
OS << "Selected GCC installation: " << GCCInstallPath << "\n";
|
||||
if (!GCCInstallPath.empty())
|
||||
OS << "Selected GCC installation: " << GCCInstallPath << "\n";
|
||||
|
||||
for (MultilibSet::const_iterator I = Multilibs.begin(), E = Multilibs.end();
|
||||
I != E; ++I) {
|
||||
OS << "Candidate multiilb: " << *I << "\n";
|
||||
}
|
||||
OS << "Selected multilib: " << SelectedMultilib << "\n";
|
||||
|
||||
if (Multilibs.size() != 0 || !SelectedMultilib.isDefault())
|
||||
OS << "Selected multilib: " << SelectedMultilib << "\n";
|
||||
}
|
||||
|
||||
bool Generic_GCC::GCCInstallationDetector::getBiarchSibling(Multilib &M) const {
|
||||
|
|
Loading…
Reference in New Issue