summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 650635e993..38f8028b30 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1491,6 +1491,7 @@ QMakeProject::read(uchar cmd)
QString orig_spec = first(QLatin1String("QMAKESPEC_ORIGINAL"));
real_spec = orig_spec.isEmpty() ? qmakespec : orig_spec;
#endif
+ vars["QMAKESPEC"] << real_spec;
short_spec = QFileInfo(real_spec).fileName();
doProjectInclude("spec_post", IncludeFlagFeature, vars);
// The spec extends the feature search path, so invalidate the cache.