forked from qt-creator/qt-creator
ProjectExplorer: Fix CustomToolChain::operator==
We need to take the compiler command into account. Fixes: QTCREATORBUG-30133 Change-Id: I5f120d4b3e41cbeeae255a2566332389d3eba508 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -305,6 +305,7 @@ bool CustomToolChain::operator ==(const ToolChain &other) const
|
|||||||
|
|
||||||
auto customTc = static_cast<const CustomToolChain *>(&other);
|
auto customTc = static_cast<const CustomToolChain *>(&other);
|
||||||
return m_makeCommand == customTc->m_makeCommand
|
return m_makeCommand == customTc->m_makeCommand
|
||||||
|
&& compilerCommand() == customTc->compilerCommand()
|
||||||
&& targetAbi() == customTc->targetAbi()
|
&& targetAbi() == customTc->targetAbi()
|
||||||
&& m_predefinedMacros == customTc->m_predefinedMacros
|
&& m_predefinedMacros == customTc->m_predefinedMacros
|
||||||
&& m_builtInHeaderPaths == customTc->m_builtInHeaderPaths;
|
&& m_builtInHeaderPaths == customTc->m_builtInHeaderPaths;
|
||||||
|
Reference in New Issue
Block a user