[vlc-commits] contrib: properly set Xcode arch to arm64 instead of aarch64

Marvin Scholz git at videolan.org
Fri Aug 14 16:02:51 CEST 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Jul 27 18:58:43 2020 +0200| [798ace089cc2e93dd4ea272e0ec7cf51fc049249] | committer: Marvin Scholz

contrib: properly set Xcode arch to arm64 instead of aarch64

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=798ace089cc2e93dd4ea272e0ec7cf51fc049249
---

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

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 9f1d064c43..7c25e8b27c 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
 



More information about the vlc-commits mailing list