[vlc-devel] [PATCH 2/3] contrib: Remove special case for Xcode 3

Marvin Scholz epirat07 at gmail.com
Sat Oct 29 14:58:19 CEST 2016


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.
---
 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
 
-- 
2.8.4 (Apple Git-73)



More information about the vlc-devel mailing list