summaryrefslogtreecommitdiff
path: root/data/_openssl1.1/iphoneos.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-21 15:47:31 -1000
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-05-22 16:11:41 +0000
commit9fe5b4edbd35485a54ec628c2584d05801f38628 (patch)
treee83aadc1a43aebd17cda90a998b5d7e8d5cc4432 /data/_openssl1.1/iphoneos.diff
parent8f4270163ac8cf716c892216b4164f89b1cbca57 (diff)
Begin adding openssl1.1 libs
Diffstat (limited to 'data/_openssl1.1/iphoneos.diff')
-rw-r--r--data/_openssl1.1/iphoneos.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/_openssl1.1/iphoneos.diff b/data/_openssl1.1/iphoneos.diff
new file mode 100644
index 000000000..e1d5d429b
--- /dev/null
+++ b/data/_openssl1.1/iphoneos.diff
@@ -0,0 +1,24 @@
+diff -urN openssl-1.1.1b/Configurations/20-elucubratus.conf openssl-1.1.1b+iPhone/Configurations/20-elucubratus.conf
+--- openssl-1.1.1b/Configurations/20-elucubratus.conf 1969-12-31 14:00:00.000000000 -1000
++++ openssl-1.1.1b+iPhone/Configurations/20-elucubratus.conf 2019-05-21 15:33:25.000000000 -1000
+@@ -0,0 +1,20 @@
++#### iPhoneOS/iOS
++#
++# It takes recent enough XCode to use following two targets. It shouldn't
++# be a problem by now, but if they don't work, original targets below
++# that depend on manual definition of environment variables should still
++# work...
++#
++my %targets = (
++ "aarch64-apple-darwin17" => {
++ inherit_from => [ "darwin-common", asm("aarch64_asm") ],
++ CC => "aarch64-apple-darwin17-gcc",
++ cflags => add("-O2 -fomit-frame-pointer -fno-common"),
++ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
++ perlasm_scheme => "ios64",
++ sys_id => "iphoneos",
++ },
++);
++# +"arm-apple-darwin11","arm-apple-darwin11-gcc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
++# +"armv7k-apple-darwin11","armv7k-apple-darwin11-gcc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
++# +"aarch64-apple-darwin17","aarch64-apple-darwin17-gcc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", "iphoneos-arm"