aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotoolsprojectmanager/makestep.cpp
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2012-11-28 15:29:55 +0100
committerDaniel Teske <daniel.teske@digia.com>2012-12-07 13:43:09 +0100
commit2f862681d7168a13cc5d8f5f2355a4cdc365a730 (patch)
tree578e3200efa254d400e4704ef1a858765cd3c94b /src/plugins/autotoolsprojectmanager/makestep.cpp
parent2b2f41db4fccc161846d3793ee7cf9624ca34514 (diff)
ProcessParameter: Ensure macro expansion is done in the main thread
The macro expanders are not thread safe. Also the values should be expanded in init() as later changes to e.g. the buildconfiguration should not affect the build anymore. Change-Id: I82f5cd229d82cdb9f897c1db69c47b028cca29d1 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/makestep.cpp')
-rw-r--r--src/plugins/autotoolsprojectmanager/makestep.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/autotoolsprojectmanager/makestep.cpp b/src/plugins/autotoolsprojectmanager/makestep.cpp
index 7716b5c0c2..2903186f92 100644
--- a/src/plugins/autotoolsprojectmanager/makestep.cpp
+++ b/src/plugins/autotoolsprojectmanager/makestep.cpp
@@ -189,6 +189,7 @@ bool MakeStep::init()
pp->setWorkingDirectory(bc->buildDirectory());
pp->setCommand(tc ? tc->makeCommand(bc->environment()) : QLatin1String("make"));
pp->setArguments(arguments);
+ pp->resolveAll();
setOutputParser(new GnuMakeParser());
IOutputParser *parser = target()->kit()->createOutputParser();