[vlc-devel] [PATCH 02/12] contrib: Do not hardcode 32/64 bit
Felix Paul Kühne
fkuehne at videolan.org
Mon Aug 31 19:05:52 CEST 2020
From: Marvin Scholz <epirat07 at gmail.com>
This was probably needed at the time of 32/64bit switchover but there
should be no need to do this at all anymore. Additionally it breaks
compiling for any non-x86_64 macOS that is not 32bit.
(cherry picked from commit 30f894b7d63bed8643b298af09064a1bc5e75c11)
Signed-off-by: Felix Paul Kühne <felix at feepk.net>
---
contrib/src/main.mak | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index dc4816982c..7862cdfa48 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -124,16 +124,7 @@ endif
ifdef HAVE_MACOSX
EXTRA_CXXFLAGS += -stdlib=libc++
-ifeq ($(ARCH),x86_64)
-EXTRA_CFLAGS += -m64
-EXTRA_LDFLAGS += -m64
-else
-EXTRA_CFLAGS += -m32
-EXTRA_LDFLAGS += -m32
-endif
-
XCODE_FLAGS += -arch $(ARCH)
-
endif
CCAS=$(CC) -c
--
2.24.3 (Apple Git-128)
More information about the vlc-devel
mailing list