aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-06-18 11:11:59 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-06-18 11:20:42 +0200
commit21f03f6a4e610f8213fd6d6fe35c6b4d9b9d3c61 (patch)
tree75b810fa21cddfbc27e2f78876a4c1e3d87319b8
parent183ecb7e6a011c2ea7ac662dadb835eae2b91ec7 (diff)
make hostOS the default of targetOS again
Otherwise we break profiles that do not set targetOS. This is the usual case for host toolchains on Linux. Change-Id: I8fdba89806ba560a3ab70f23a73b61247f6b508c Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
-rw-r--r--share/qbs/modules/qbs/common.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/qbs/common.qbs b/share/qbs/modules/qbs/common.qbs
index c650aadba..1f287cb7b 100644
--- a/share/qbs/modules/qbs/common.qbs
+++ b/share/qbs/modules/qbs/common.qbs
@@ -7,7 +7,7 @@ Module {
property bool debugInformation: (buildVariant == "debug")
property string optimization: (buildVariant == "debug" ? "none" : "fast")
property stringList hostOS: getHostOS()
- property stringList targetOS
+ property stringList targetOS: hostOS
property string pathListSeparator: hostOS.contains("windows") ? ";" : ":"
property string pathSeparator: hostOS.contains("windows") ? "\\" : "/"
property string profile