[vlc-commits] contrib: properly set Xcode arch to arm64 instead of aarch64
Marvin Scholz
git at videolan.org
Mon Sep 7 11:48:42 CEST 2020
vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Jul 27 18:58:43 2020 +0200| [61ab4724aa0fe0db79fb92baf7997724a2f6fe94] | committer: Felix Paul Kühne
contrib: properly set Xcode arch to arm64 instead of aarch64
(cherry picked from commit 798ace089cc2e93dd4ea272e0ec7cf51fc049249)
Signed-off-by: Felix Paul Kühne <felix at feepk.net>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=61ab4724aa0fe0db79fb92baf7997724a2f6fe94
---
contrib/src/main.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 7862cdfa48..a803c98071 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -124,8 +124,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