summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r--qmake/generators/makefile.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 0e7bc99691..f126da3280 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -3072,14 +3072,11 @@ QStringList
}
QString
-MakefileGenerator::specdir(const QString &outdir, int host_build)
+MakefileGenerator::specdir()
{
-#if 0
- if(!spec.isEmpty())
- return spec;
-#endif
- spec = fileFixify((host_build >= 0 ? bool(host_build) : project->isHostBuild())
- ? Option::mkfile::qmakespec : Option::mkfile::xqmakespec, outdir);
+ if (spec.isEmpty())
+ spec = fileFixify(project->isHostBuild()
+ ? Option::mkfile::qmakespec : Option::mkfile::xqmakespec);
return spec;
}