diff options
author | Richard Levitte <levitte@openssl.org> | 2018-10-15 18:37:18 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-10-28 17:19:37 +0100 |
commit | 04e3f9a114c2c142356ef1639d68397a72e0c7f8 (patch) | |
tree | 51754c7463d4030127480b21cee347c750809dfe /Configurations | |
parent | caa8595276c60f009c8621ad466338d2ae39fb86 (diff) | |
download | openssl-04e3f9a114c2c142356ef1639d68397a72e0c7f8.zip openssl-04e3f9a114c2c142356ef1639d68397a72e0c7f8.tar.gz openssl-04e3f9a114c2c142356ef1639d68397a72e0c7f8.tar.bz2 |
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 <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7403)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/15-ios.conf | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Configurations/15-ios.conf b/Configurations/15-ios.conf index aff9096..1bb9f48 100644 --- a/Configurations/15-ios.conf +++ b/Configurations/15-ios.conf @@ -6,31 +6,31 @@ # work... # my %targets = ( + "ios-common" => { + template => 1, + inherit_from => [ "darwin-common" ], + sys_id => "iOS", + disable => [ "engine", "async" ], + }, "ios-xcrun" => { - inherit_from => [ "darwin-common", asm("armv4_asm") ], + inherit_from => [ "ios-common", asm("armv4_asm") ], # It should be possible to go below iOS 6 and even add -arch armv6, # thus targeting iPhone pre-3GS, but it's assumed to be irrelevant # at this point. CC => "xcrun -sdk iphoneos cc", cflags => add("-arch armv7 -mios-version-min=6.0.0 -fno-common"), - sys_id => "iOS", perlasm_scheme => "ios32", - disable => [ "engine" ], }, "ios64-xcrun" => { - inherit_from => [ "darwin-common", asm("aarch64_asm") ], + inherit_from => [ "ios-common", asm("aarch64_asm") ], CC => "xcrun -sdk iphoneos cc", cflags => add("-arch arm64 -mios-version-min=7.0.0 -fno-common"), - sys_id => "iOS", bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR", perlasm_scheme => "ios64", - disable => [ "engine" ], }, "iossimulator-xcrun" => { - inherit_from => [ "darwin-common" ], + inherit_from => [ "ios-common" ], CC => "xcrun -sdk iphonesimulator cc", - sys_id => "iOS", - disable => [ "engine" ], }, # It takes three prior-set environment variables to make it work: # @@ -46,10 +46,8 @@ my %targets = ( # CROSS_SDK=iPhoneOS.sdk # "iphoneos-cross" => { - inherit_from => [ "darwin-common" ], + inherit_from => [ "ios-common" ], cflags => add("-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) -fno-common"), - sys_id => "iOS", - disable => [ "engine" ], }, "ios-cross" => { inherit_from => [ "ios-xcrun" ], |