[vlc-devel] [PATCH 3/7] contrib: properly set Xcode arch to arm64 instead of aarch64

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


---
 contrib/src/main.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index e6c722d7cc..5229bfe15d 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -131,8 +131,12 @@ endif
 
 ifdef HAVE_MACOSX
 EXTRA_CXXFLAGS += -stdlib=libc++
+ifeq ($(ARCH),aarch64)
+XCODE_FLAGS += -arch arm64
+else
 XCODE_FLAGS += -arch $(ARCH)
 endif
+endif
 
 CCAS=$(CC) -c
 
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list