Commit 3fd55ef0 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Compile fix.



Change-Id: I6d6007dc9578acae62c1d41a07164a917e879cd5
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent c730a7da
......@@ -293,7 +293,7 @@ GccToolChain::GccToolChain(const QString &id, bool autodetect) :
GccToolChain::GccToolChain(const GccToolChain &tc) :
ToolChain(tc),
m_predefinedMacros(tc.predefinedMacros()),
m_compilerCommand(tc.compilerPath()),
m_compilerPath(tc.compilerCommand()),
m_debuggerCommand(tc.debuggerCommand()),
m_targetAbi(tc.m_targetAbi),
m_supportedAbis(tc.m_supportedAbis),
......@@ -465,7 +465,7 @@ void GccToolChain::setCompilerCommand(const Utils::FileName &path)
m_compilerPath = path;
Abi currentAbi = m_targetAbi;
m_supportedAbis = findAbiForCompilerPath(m_compilerPath);
m_supportedAbis = findAbiForCompilerPath(m_compilerPath.toString());
m_targetAbi = Abi();
if (!m_supportedAbis.isEmpty()) {
......
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