summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-06 15:06:28 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-07 08:04:23 (GMT)
commit730b936b53633891e2b8c505a3ff4c93209e7ae8 (patch)
tree017f0d6f0ece35d2598261ea7763646fe2d2cbd9 /qmake
parentb9d6ecc1dbe5791fec6fb06de3be06186b485420 (diff)
downloadQt-730b936b53633891e2b8c505a3ff4c93209e7ae8.zip
Qt-730b936b53633891e2b8c505a3ff4c93209e7ae8.tar.gz
Qt-730b936b53633891e2b8c505a3ff4c93209e7ae8.tar.bz2
fix QMAKE_VAR_FIRST_ expansion in compiler flags
doesn't seem to be a terribly popular feature, given that nobody noticed this yet ...
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/makefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 3e5452e..67e5bfb 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -1492,7 +1492,7 @@ MakefileGenerator::replaceExtraCompilerVariables(const QString &orig_var, const
val += project->values(varname);
}
if(val.isEmpty() && var.startsWith(QLatin1String("QMAKE_VAR_FIRST_"))) {
- const QString varname = var.mid(12);
+ const QString varname = var.mid(16);
val += project->first(varname);
}