forked from qt-creator/qt-creator
ProjectExplorer: Allow users to override the gcc target triple
... for the clang code model. Otherwise, it won't work with GCC compilers for architectures clang does not know about. Fixes: QTCREATORBUG-26913 Change-Id: I90115f2f562eae9922b90c500630ccf988542ca3 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -182,7 +182,8 @@ ToolChainInfo::ToolChainInfo(const ToolChain *toolChain,
|
||||
type = toolChain->typeId();
|
||||
isMsvc2015ToolChain = toolChain->targetAbi().osFlavor() == Abi::WindowsMsvc2015Flavor;
|
||||
wordWidth = toolChain->targetAbi().wordWidth();
|
||||
targetTriple = toolChain->originalTargetTriple();
|
||||
targetTriple = toolChain->effectiveCodeModelTargetTriple();
|
||||
targetTripleIsAuthoritative = !toolChain->explicitCodeModelTargetTriple().isEmpty();
|
||||
extraCodeModelFlags = toolChain->extraCodeModelFlags();
|
||||
installDir = toolChain->installDir();
|
||||
compilerFilePath = toolChain->compilerCommand();
|
||||
|
||||
Reference in New Issue
Block a user