[vlc-devel] [PATCH v2 2/7] contrib: properly set Xcode arch to arm64 instead of aarch64
Marvin Scholz
epirat07 at gmail.com
Thu Aug 6 00:07:20 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 9f1d064c430..7c25e8b27c0 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