aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/deploymentTarget/deployment.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/deploymentTarget/deployment.qbs')
-rw-r--r--tests/auto/blackbox/testdata/deploymentTarget/deployment.qbs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/deploymentTarget/deployment.qbs b/tests/auto/blackbox/testdata/deploymentTarget/deployment.qbs
index f805de67c..27280d896 100644
--- a/tests/auto/blackbox/testdata/deploymentTarget/deployment.qbs
+++ b/tests/auto/blackbox/testdata/deploymentTarget/deployment.qbs
@@ -13,4 +13,10 @@ CppApplication {
cpp.driverFlags: ["-v"]
cpp.linkerFlags: ["-v"]
+
+ targetName: {
+ if (cpp.compilerVersionMajor < 6 && qbs.architecture === "x86_64h")
+ throw("x86_64h will be mis-detected as x86_64 with Apple Clang < 6.0");
+ return name;
+ }
}