[vlc-commits] contrib: Do not hardcode 32/64 bit
Marvin Scholz
git at videolan.org
Mon Sep 7 11:48:41 CEST 2020
vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Jul 27 17:56:01 2020 +0200| [5db08a29748efd527f2eb7d13a7fb91767f0b7c6] | committer: Felix Paul Kühne
contrib: Do not hardcode 32/64 bit
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>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=5db08a29748efd527f2eb7d13a7fb91767f0b7c6
---
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
More information about the vlc-commits
mailing list