-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathios.patch
More file actions
20 lines (19 loc) · 1.19 KB
/
Copy pathios.patch
File metadata and controls
20 lines (19 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./includes/ghcconfig.h.og 2021-06-29 00:24:51.000000000 -0700
+++ ./includes/ghcconfig.h 2021-06-29 00:24:51.000000000 -0700
@@ -2,3 +2,7 @@
#include "ghcautoconf.h"
#include "ghcplatform.h"
+
+#if defined(ios_HOST_OS)
+#define darwin_HOST_OS 1
+#endif
--- ./llvm-targets.og 2021-06-29 00:24:51.000000000 -0700
+++ ./llvm-targets 2021-06-29 00:24:51.000000000 -0700
@@ -40,6 +40,7 @@
,("aarch64-apple-darwin", ("e-m:o-i64:64-i128:128-n32:64-S128", "apple-a7", "+fp-armv8 +neon +crypto +zcm +zcz +sha2 +aes"))
,("armv7-apple-ios", ("e-m:o-p:32:32-Fi8-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32", "generic", ""))
,("aarch64-apple-ios", ("e-m:o-i64:64-i128:128-n32:64-S128", "apple-a7", "+fp-armv8 +neon +crypto +zcm +zcz +sha2 +aes"))
+,("arm64-apple-ios", ("e-m:o-i64:64-i128:128-n32:64-S128", "apple-a7", "+fp-armv8 +neon +crypto +zcm +zcz +sha2 +aes"))
,("i386-apple-ios", ("e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:128-n8:16:32-S128", "yonah", ""))
,("x86_64-apple-ios", ("e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "core2", ""))
,("amd64-portbld-freebsd", ("e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))