Commit e1c20ea1 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Tell compiler which paths to mangle.

Can be overridden by setting the environment variable maually.
parent ff5f5f0d
......@@ -102,6 +102,15 @@ void MaemoToolChain::addToEnvironment(Utils::Environment &env) const
const QString manglePathsKey = QLatin1String("GCCWRAPPER_PATHMANGLE");
if (!env.hasKey(manglePathsKey)) {
const QStringList pathsToMangle = QStringList() << QLatin1String("/lib")
<< QLatin1String("/opt") << QLatin1String("/usr");
env.set(manglePathsKey, QString());
foreach (const QString &path, pathsToMangle)
env.appendOrSet(manglePathsKey, path, QLatin1String(":"));
QString MaemoToolChain::sysroot() const
Supports Markdown
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