Commit 405b8738 authored by Tobias Hunger's avatar Tobias Hunger

ToolChain: Fix parsing of gcc output and localization

Task-number: QTCREATORBUG-6253
Change-Id: Icb5b204e93e216c94b369349992d1eb21ec60a62
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 5a7d6d66
......@@ -72,8 +72,7 @@ static QByteArray runGcc(const QString &gcc, const QStringList &arguments, const
QProcess cpp;
// Force locale: This function is used only to detect settings inside the tool chain, so this is save.
QStringList environment(env);
environment.append(QLatin1String("LC_ALL"));
environment.append(QLatin1String("C"));
environment.append(QLatin1String("LC_ALL=C"));
cpp.setEnvironment(environment);
cpp.start(gcc, arguments);
......
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