diff options
Diffstat (limited to 'share/qbs')
-rw-r--r-- | share/qbs/modules/cpp/ios-gcc.qbs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/ios-gcc.qbs b/share/qbs/modules/cpp/ios-gcc.qbs index 0ff99679f..2d73c8125 100644 --- a/share/qbs/modules/cpp/ios-gcc.qbs +++ b/share/qbs/modules/cpp/ios-gcc.qbs @@ -39,6 +39,14 @@ DarwinGCC { condition: qbs.targetOS.contains('ios') && qbs.toolchain && qbs.toolchain.contains('gcc') + minimumIosVersion: { + if (qbs.architecture == "armv7a") + return "6.0"; + // XCode 12 requres version (at least 8.0) to be present in the -target triplet + // when compiling for ios-simulator + if (xcode.present && Utilities.versionCompare(xcode.version, "12.0") >= 0) + return "8.0"; + } targetSystem: "ios" + (minimumIosVersion || "") minimumDarwinVersion: minimumIosVersion |