mirror of
https://git.sr.ht/~eliasnaur/gio-cmd
synced 2026-07-01 07:35:37 +00:00
gogio: [tvOS] bump minSDK to 11.0
References: https://todo.sr.ht/~eliasnaur/gio/567 Signed-off-by: Aman Karmani <aman@tmm1.net>
This commit is contained in:
+6
-1
@@ -20,7 +20,9 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
minIOSVersion = 10
|
||||
minIOSVersion = 10
|
||||
// Some Metal features require tvOS 11
|
||||
minTVOSVersion = 11
|
||||
// Metal is available from iOS 8 on devices, yet from version 13 on the
|
||||
// simulator.
|
||||
minSimulatorVersion = 13
|
||||
@@ -496,6 +498,9 @@ func iosCompilerFor(target, arch string, minsdk int) (string, []string, error) {
|
||||
platformSDK += "os"
|
||||
if minsdk == 0 {
|
||||
minsdk = minIOSVersion
|
||||
if target == "tvos" {
|
||||
minsdk = minTVOSVersion
|
||||
}
|
||||
}
|
||||
case "386", "amd64":
|
||||
platformOS += "-simulator"
|
||||
|
||||
Reference in New Issue
Block a user