summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/configure.prf2
-rw-r--r--mkspecs/features/configure_base.prf1
-rw-r--r--mkspecs/features/qt_configure.prf2
3 files changed, 4 insertions, 1 deletions
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
index cc360033d7..147d6f178c 100644
--- a/mkspecs/features/configure.prf
+++ b/mkspecs/features/configure.prf
@@ -4,6 +4,8 @@ cache()
load(configure_base)
+recheck: write_file($$QMAKE_CONFIG_LOG, "")
+
isEmpty(QMAKE_CONFIG_TESTS_DIR): QMAKE_CONFIG_TESTS_DIR = $$_PRO_FILE_PWD_/config.tests
# Try to build the test project in $$QMAKE_CONFIG_TESTS_DIR/$$1
diff --git a/mkspecs/features/configure_base.prf b/mkspecs/features/configure_base.prf
index cd60cc3cc6..4d68affabf 100644
--- a/mkspecs/features/configure_base.prf
+++ b/mkspecs/features/configure_base.prf
@@ -44,4 +44,3 @@ defineTest(qtRunLoggedCommand) {
}
QMAKE_CONFIG_LOG = $$dirname(_QMAKE_CACHE_)/config.log
-write_file($$QMAKE_CONFIG_LOG, "")
diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf
index 1d7e810cc8..810e3106ab 100644
--- a/mkspecs/features/qt_configure.prf
+++ b/mkspecs/features/qt_configure.prf
@@ -1729,6 +1729,8 @@ equals(QMAKE_CONFIG_CACHE_USE, none) {
"cache.xplatform = $$[QMAKE_XSPEC]"
write_file($$QMAKE_CONFIG_CACHE, cont)
}
+!equals(QMAKE_CONFIG_CACHE_USE, all): \
+ write_file($$QMAKE_CONFIG_LOG, "")
for (currentConfig, allConfigs) {
qtConfSetModuleName()