Browse Source

buildVLCKit: Use clang for contribs as well

Hugo Beauzée-Luyssen 7 years ago
parent
commit
082b040419
1 changed files with 4 additions and 4 deletions
  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 \