[vlc-devel] [PATCH v2 15/17] apple: build: build gas-preprocessor for armv7

Alexandre Janniaux ajanni at videolabs.io
Wed Apr 29 22:40:58 CEST 2020


ffmpeg cannot build without gas-preprocessor on armv7 for iOS.
---
 extras/package/apple/build.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/extras/package/apple/build.sh b/extras/package/apple/build.sh
index 8bb9ef12494..9fe87a7c510 100755
--- a/extras/package/apple/build.sh
+++ b/extras/package/apple/build.sh
@@ -542,7 +542,10 @@ echo "Building needed tools (if missing)"
 cd "$VLC_SRC_DIR/extras/tools" || abort_err "Failed cd to tools dir"
 ./bootstrap || abort_err "Bootstrapping tools failed"
 $MAKE -j$VLC_USE_NUMBER_OF_CORES || abort_err "Building tools failed"
-
+if [ $VLC_HOST_ARCH = "armv7" ]; then
+$MAKE -j$VLC_USE_NUMBER_OF_CORES .buildgas \
+    || abort_err "Building gas-preprocessor tool failed"
+fi
 echo ""
 
 ##########################################################
-- 
2.26.2



More information about the vlc-devel mailing list