Commit 149b7fd5 authored by Sergey Belyashov's avatar Sergey Belyashov Committed by Oswald Buddenhagen

Fixed problem with system headers detection for translated version of GCC.

Merge-request: 1484
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent 6ce0a236
......@@ -185,6 +185,7 @@ QList<HeaderPath> GccToolChain::systemHeaderPaths()
QProcess cpp;
ProjectExplorer::Environment env = ProjectExplorer::Environment::systemEnvironment();
addToEnvironment(env);
env.set(QLatin1String("LC_ALL"), QLatin1String("C")); //override current locale settings
cpp.setEnvironment(env.toStringList());
cpp.setReadChannelMode(QProcess::MergedChannels);
cpp.start(m_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