Commit 63d54305 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Tobias Hunger
Browse files

MingwToolChain: Avoid double call of hostAbi()

Change-Id: Ie10bf134841b747b219756f6b986fe49eb443f52
Reviewed-by: default avatarTobias Hunger <>
parent f18bc981
......@@ -1191,8 +1191,8 @@ MingwToolChainFactory::MingwToolChainFactory()
QList<ToolChain *> MingwToolChainFactory::autoDetect(const QList<ToolChain *> &alreadyKnown)
const Abi ha = Abi(Abi::hostAbi().architecture(), Abi::WindowsOS, Abi::WindowsMSysFlavor,
Abi::PEFormat, Abi::hostAbi().wordWidth());
Abi ha = Abi::hostAbi();
ha = Abi(ha.architecture(), Abi::WindowsOS, Abi::WindowsMSysFlavor, Abi::PEFormat, ha.wordWidth());
return autoDetectToolchains(QLatin1String("g++"), ha, alreadyKnown);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment