[vlc-devel] [PATCH 03/12] contrib: properly set Xcode arch to arm64 instead of aarch64
Felix Paul Kühne
fkuehne at videolan.org
Mon Aug 31 19:05:53 CEST 2020
From: Marvin Scholz <epirat07 at gmail.com>
(cherry picked from commit 798ace089cc2e93dd4ea272e0ec7cf51fc049249)
Signed-off-by: Felix Paul Kühne <felix at feepk.net>
---
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
--
2.24.3 (Apple Git-128)
More information about the vlc-devel
mailing list