[vlc-commits] contrib: Remove special case for Xcode 3

Marvin Scholz git at videolan.org
Sun Oct 30 22:25:13 CET 2016


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Oct 29 12:28:42 2016 +0200| [da64923aa88006073d822534b5e5491ba56993d9] | committer: Marvin Scholz

contrib: Remove special case for Xcode 3

Xcode 3 is ancient and Xcode 4 is available for OS X 10.7 (the oldest
OS X version that VLC supports) so this special case can be removed.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da64923aa88006073d822534b5e5491ba56993d9
---

 contrib/src/main.mak | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index fbe6d1d..e18bddc 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -123,13 +123,7 @@ EXTRA_CFLAGS += -m32
 EXTRA_LDFLAGS += -m32
 endif
 
-XCODE_FLAGS = -sdk macosx$(OSX_VERSION)
-ifeq ($(shell xcodebuild -version 2>/dev/null | tee /dev/null|head -1|cut -d\  -f2|cut -d. -f1),3)
-XCODE_FLAGS += ARCHS=$(ARCH)
-# XCode 3 doesn't support -arch
-else
-XCODE_FLAGS += -arch $(ARCH)
-endif
+XCODE_FLAGS = -sdk macosx$(OSX_VERSION) -arch $(ARCH)
 
 endif
 



More information about the vlc-commits mailing list