summaryrefslogtreecommitdiffstats
path: root/contrib/libxml2
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-10-30 13:47:51 +0100
committerDamiano Galassi <[email protected]>2020-11-05 09:49:16 +0100
commit03bdef6441b16291861285c88585bf0c51b71d3f (patch)
tree654bf83fbc708cffb4fb49a69d303f3a89703a5c /contrib/libxml2
parent77b30ad88ce789b2529e617d07ad8375392d36f0 (diff)
contrib: macOS arm and intel cross compilation.
Diffstat (limited to 'contrib/libxml2')
-rw-r--r--contrib/libxml2/P00-darwin-applesi-cross.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/libxml2/P00-darwin-applesi-cross.patch b/contrib/libxml2/P00-darwin-applesi-cross.patch
new file mode 100644
index 000000000..f0fd5c1a6
--- /dev/null
+++ b/contrib/libxml2/P00-darwin-applesi-cross.patch
@@ -0,0 +1,22 @@
+diff --git a/config.sub b/config.sub
+index f4bafc1..cc30ca6 100755
+--- a/config.sub
++++ b/config.sub
+@@ -247,7 +247,7 @@ case $basic_machine in
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
+- | aarch64 | aarch64_be \
++ | aarch64 | aarch64_be | arm64 \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+@@ -372,7 +372,7 @@ case $basic_machine in
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
+- | aarch64-* | aarch64_be-* \
++ | aarch64-* | aarch64_be-* | arm64*-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \