[vlc-devel] [PATCH v2 1/4] Fixed contrib compiler selection on MacOS X 10.9

Maxim Bublis b at codemonkey.ru
Fri Nov 15 09:28:26 CET 2013


Patch has been updated to use clang only on MacOS X 10.9.

---
 contrib/src/main.mak | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 4e568ec..223e33b 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -97,8 +97,13 @@ endif
 
 ifdef HAVE_MACOSX
 MIN_OSX_VERSION=10.6
+ifeq ($(OSX_VERSION),10.9)
+CC=xcrun clang
+CXX=xcrun clang++
+else
 CC=xcrun llvm-gcc-4.2
 CXX=xcrun llvm-g++-4.2
+endif
 AR=xcrun ar
 LD=xcrun ld
 STRIP=xcrun strip
-- 
Maxim Bublis




More information about the vlc-devel mailing list