diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-08-09 18:54:40 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-14 23:12:23 +0200 |
commit | 4350054ab86b03b2a4e6641238b762fd80a3c5dd (patch) | |
tree | a0a77728895ebbb046782558a721fc7019d00c29 /qmake/generators/makefile.h | |
parent | 1447b6c55b55ca7bd6474524c12948c3e5589d2e (diff) |
revamp preparation of command line for qmake calls in makefiles
instead of re-assembling a list from the variables, take the original
command line minus some explicitly stripped out options. this is way
less code and poses no synchronization problem between the two parts.
as a "side effect", variables obtained from $QMAKEFLAGS won't multiply
with each makefile nesting level, as the generated command line won't
replicate data obtained from the environment.
Change-Id: I5d1ce0f11efb338f60405529f9818910103b1b0e
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qmake/generators/makefile.h')
-rw-r--r-- | qmake/generators/makefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/makefile.h b/qmake/generators/makefile.h index 10b54224a6..47d04b0a12 100644 --- a/qmake/generators/makefile.h +++ b/qmake/generators/makefile.h @@ -194,7 +194,7 @@ protected: QString specdir(); //subclasses can use these to query information about how the generator was "run" - QString buildArgs(const QString &outdir=QString()); + QString buildArgs(); QString fixifySpecdir(const QString &spec, const QString &outdir); virtual QStringList &findDependencies(const QString &file); |