summaryrefslogtreecommitdiffstats
path: root/contrib/lame
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/lame
parent77b30ad88ce789b2529e617d07ad8375392d36f0 (diff)
contrib: macOS arm and intel cross compilation.
Diffstat (limited to 'contrib/lame')
-rw-r--r--contrib/lame/P00-darwin-applesi-cross.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/lame/P00-darwin-applesi-cross.patch b/contrib/lame/P00-darwin-applesi-cross.patch
new file mode 100644
index 000000000..d227c4166
--- /dev/null
+++ b/contrib/lame/P00-darwin-applesi-cross.patch
@@ -0,0 +1,22 @@
+diff --git a/config.sub b/config.sub
+index 3580aaf..4a81e12 100755
+--- a/config.sub
++++ b/config.sub
+@@ -248,7 +248,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 \
+@@ -370,7 +370,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]-* | amd64-* | arc-* | arceb-* \