build-openssl-ios/patch-conf.patch
2019-05-21 15:54:31 +02:00

17 lines
764 B
Diff

diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1640,6 +1640,13 @@ my %targets = (
sys_id => "VXWORKS",
lflags => add("-r"),
},
+ "ios64sim-cross" => {
+ inherit_from => [ "darwin-common", asm("no_asm") ],
+ cflags => add("-arch x86_64 -DOPENSSL_NO_ASM -mios-version-min=7.0.0 -isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) -fno-common"),
+ sys_id => "iOS",
+ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
+ perlasm_scheme => "ios64",
+ },
"vxworks-simlinux" => {
inherit_from => [ "BASE_unix" ],
CC => "ccpentium",