summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-03-09 18:12:08 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-03-16 15:08:54 +0000
commitd8be8110a484460504b977dade5f163ee37b8225 (patch)
treeaa9bb9b2d20b9f13e3c3a6660b28a3a9ab4670b9 /mkspecs
parent867357235ecfe12edd9940d5c8ef08f4e6ac559d (diff)
make -D/-I/-L/-l/-R not affect bootstrapped tools
it's likely that these will be wrong, and the bootstrapped tools usually don't need them anyway. should they turn out necessary after all, we need to add -H* variants of the flags. Change-Id: I15c54c5e25d20ebd474073a530f00254842f515d Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_build_extra.prf4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/features/qt_build_extra.prf b/mkspecs/features/qt_build_extra.prf
index 4b01c7b285..a346525e66 100644
--- a/mkspecs/features/qt_build_extra.prf
+++ b/mkspecs/features/qt_build_extra.prf
@@ -11,6 +11,10 @@
equals(TEMPLATE, subdirs): return()
+# It's likely that these extra flags will be wrong for host builds,
+# and the bootstrapped tools usually don't need them anyway.
+host_build:force_bootstrap: return()
+
# The headersclean check needs defines and includes even for
# header-only modules.
DEFINES += $$EXTRA_DEFINES