Skip to content

Commit 04e3f9a

Browse files
committed
iOS config targets: disable "async" by default
This also gave enough reason to collect the stuff that's common for all iOS config targets into the template "ios-common". Fixes #7318 Reviewed-by: Matt Caswell <[email protected]> (Merged from #7403)
1 parent caa8595 commit 04e3f9a

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

Configurations/15-ios.conf

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@
66
# work...
77
#
88
my %targets = (
9+
"ios-common" => {
10+
template => 1,
11+
inherit_from => [ "darwin-common" ],
12+
sys_id => "iOS",
13+
disable => [ "engine", "async" ],
14+
},
915
"ios-xcrun" => {
10-
inherit_from => [ "darwin-common", asm("armv4_asm") ],
16+
inherit_from => [ "ios-common", asm("armv4_asm") ],
1117
# It should be possible to go below iOS 6 and even add -arch armv6,
1218
# thus targeting iPhone pre-3GS, but it's assumed to be irrelevant
1319
# at this point.
1420
CC => "xcrun -sdk iphoneos cc",
1521
cflags => add("-arch armv7 -mios-version-min=6.0.0 -fno-common"),
16-
sys_id => "iOS",
1722
perlasm_scheme => "ios32",
18-
disable => [ "engine" ],
1923
},
2024
"ios64-xcrun" => {
21-
inherit_from => [ "darwin-common", asm("aarch64_asm") ],
25+
inherit_from => [ "ios-common", asm("aarch64_asm") ],
2226
CC => "xcrun -sdk iphoneos cc",
2327
cflags => add("-arch arm64 -mios-version-min=7.0.0 -fno-common"),
24-
sys_id => "iOS",
2528
bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
2629
perlasm_scheme => "ios64",
27-
disable => [ "engine" ],
2830
},
2931
"iossimulator-xcrun" => {
30-
inherit_from => [ "darwin-common" ],
32+
inherit_from => [ "ios-common" ],
3133
CC => "xcrun -sdk iphonesimulator cc",
32-
sys_id => "iOS",
33-
disable => [ "engine" ],
3434
},
3535
# It takes three prior-set environment variables to make it work:
3636
#
@@ -46,10 +46,8 @@ my %targets = (
4646
# CROSS_SDK=iPhoneOS.sdk
4747
#
4848
"iphoneos-cross" => {
49-
inherit_from => [ "darwin-common" ],
49+
inherit_from => [ "ios-common" ],
5050
cflags => add("-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) -fno-common"),
51-
sys_id => "iOS",
52-
disable => [ "engine" ],
5351
},
5452
"ios-cross" => {
5553
inherit_from => [ "ios-xcrun" ],

0 commit comments

Comments
 (0)