diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2015-08-18 20:52:42 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2015-08-20 08:26:40 +0000 |
commit | e38ff3cf37e06246f06f5bcda448cc8b854b19d5 (patch) | |
tree | 679448b96a1881a8a0ddc21455a93d122b69955e /share/qbs/modules/cpp/watchos-gcc.qbs | |
parent | e33759ca53d34d61f8ee2e8ee178910f686b28f5 (diff) | |
download | qbs-e38ff3cf37e06246f06f5bcda448cc8b854b19d5.tar.gz |
Move platform targeting flags into compilerFlags.
ld does not support -target, -m32, -m64, or -m*-version-min.
Change-Id: I92fae82bcebc236a50f2ae01c71f93b744da2356
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'share/qbs/modules/cpp/watchos-gcc.qbs')
-rw-r--r-- | share/qbs/modules/cpp/watchos-gcc.qbs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/watchos-gcc.qbs b/share/qbs/modules/cpp/watchos-gcc.qbs index 1c1e4d03b..197e6bc87 100644 --- a/share/qbs/modules/cpp/watchos-gcc.qbs +++ b/share/qbs/modules/cpp/watchos-gcc.qbs @@ -37,4 +37,12 @@ DarwinGCC { qbs.toolchain && qbs.toolchain.contains('gcc') targetSystem: "watchos" + (minimumWatchosVersion || "") + + minimumDarwinVersion: minimumWatchosVersion + minimumDarwinVersionCompilerFlag: qbs.targetOS.contains("watchos-simulator") + ? "-mwatchos-simulator-version-min" + : "-mwatchos-version-min" + minimumDarwinVersionLinkerFlag: qbs.targetOS.contains("watchos-simulator") + ? "-watchos_simulator_version_min" + : "-watchos_version_min" } |