瀏覽代碼

buildVLCKit: Use clang for contribs as well

Hugo Beauzée-Luyssen 7 年之前
父節點
當前提交
082b040419
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      buildVLCKit.sh

+ 4 - 4
buildVLCKit.sh

@@ -143,6 +143,10 @@ spopd
 #
 
 buildLibVLC() {
+    export CC=`xcrun clang`
+    export CXX=`xcrun clang++`
+    export OBJC=`xcrun clang`
+
     args=""
     if [ "$VERBOSE" = "yes" ]; then
         args="${args} V=1"
@@ -225,10 +229,6 @@ buildLibVLC() {
 
     spushd vlckitbuild
 
-    export CC="xcrun clang"
-    export CXX="xcrun clang++"
-    export OBJC="xcrun clang"
-
     ../configure --build=${TARGET} --prefix="${PREFIX}" \
         --disable-macosx-vlc-app \
         --disable-macosx \