summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-01-12 20:58:45 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-01-20 09:29:59 +0000
commit6b8666c7f24acd13246c51eeee1316dd95ab1860 (patch)
tree832709ce1a4a9849ed3ae31bf5bdcbf64438b4f4 /mkspecs
parentf67afee9e932dd220474227882a745233455d729 (diff)
don't separate host and target toolchain when not x-building
there isn't a point to determining the values separately if they are actually the same things. Change-Id: I74cd2bf39e96d559630709559602c234c38b0c47 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/toolchain.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf
index 9e11ab9958..15b0829235 100644
--- a/mkspecs/features/toolchain.prf
+++ b/mkspecs/features/toolchain.prf
@@ -12,7 +12,7 @@ defineReplace(qtMakeExpand) {
}
}
-host_build: \
+cross_compile:host_build: \
target_prefix = QMAKE_HOST_CXX
else: \
target_prefix = QMAKE_CXX