[vlc-devel] [PATCH 6/7] contrib: gmp: disable asm for macOS aarch64 for now

Marvin Scholz epirat07 at gmail.com
Wed Jul 29 13:28:56 CEST 2020


While it builds fine, the build is actually broken and produces errors
when trying to link the library.
---
 contrib/src/gmp/rules.mak | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/contrib/src/gmp/rules.mak b/contrib/src/gmp/rules.mak
index a79b2bc955..499cb3b4d7 100644
--- a/contrib/src/gmp/rules.mak
+++ b/contrib/src/gmp/rules.mak
@@ -25,6 +25,12 @@ GMP_CONF += --disable-assembly
 endif
 endif
 
+ifdef HAVE_MACOSX
+ifeq ($(ARCH),aarch64)
+GMP_CONF += --disable-assembly
+endif
+endif
+
 $(TARBALLS)/gmp-$(GMP_VERSION).tar.bz2:
 	$(call download_pkg,$(GMP_URL),gmp)
 
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list