use versioned gas-preprocessor script on build scripts

pull/161/head
Taner Sener 4 years ago
parent d4c6cba517
commit cb44185a29
  1. 2
      scripts/function-ios.sh
  2. 2
      scripts/function-macos.sh
  3. 2
      scripts/function-tvos.sh

@ -378,7 +378,7 @@ get_ldflags() {
set_toolchain_paths() { set_toolchain_paths() {
if [ ! -f "${FFMPEG_KIT_TMPDIR}/gas-preprocessor.pl" ]; then if [ ! -f "${FFMPEG_KIT_TMPDIR}/gas-preprocessor.pl" ]; then
DOWNLOAD_RESULT=$(download "https://github.com/tanersener/gas-preprocessor/raw/master/gas-preprocessor.pl" "gas-preprocessor.pl" "exit") DOWNLOAD_RESULT=$(download "https://github.com/tanersener/gas-preprocessor/raw/v20210917/gas-preprocessor.pl" "gas-preprocessor.pl" "exit")
if [[ ${DOWNLOAD_RESULT} -ne 0 ]]; then if [[ ${DOWNLOAD_RESULT} -ne 0 ]]; then
exit 1 exit 1
fi fi

@ -299,7 +299,7 @@ get_ldflags() {
set_toolchain_paths() { set_toolchain_paths() {
if [ ! -f "${FFMPEG_KIT_TMPDIR}/gas-preprocessor.pl" ]; then if [ ! -f "${FFMPEG_KIT_TMPDIR}/gas-preprocessor.pl" ]; then
DOWNLOAD_RESULT=$(download "https://github.com/tanersener/gas-preprocessor/raw/master/gas-preprocessor.pl" "gas-preprocessor.pl" "exit") DOWNLOAD_RESULT=$(download "https://github.com/tanersener/gas-preprocessor/raw/v20210917/gas-preprocessor.pl" "gas-preprocessor.pl" "exit")
if [[ ${DOWNLOAD_RESULT} -ne 0 ]]; then if [[ ${DOWNLOAD_RESULT} -ne 0 ]]; then
exit 1 exit 1
fi fi

@ -350,7 +350,7 @@ get_ldflags() {
set_toolchain_paths() { set_toolchain_paths() {
if [ ! -f "${FFMPEG_KIT_TMPDIR}/gas-preprocessor.pl" ]; then if [ ! -f "${FFMPEG_KIT_TMPDIR}/gas-preprocessor.pl" ]; then
DOWNLOAD_RESULT=$(download "https://github.com/tanersener/gas-preprocessor/raw/master/gas-preprocessor.pl" "gas-preprocessor.pl" "exit") DOWNLOAD_RESULT=$(download "https://github.com/tanersener/gas-preprocessor/raw/v20210917/gas-preprocessor.pl" "gas-preprocessor.pl" "exit")
if [[ ${DOWNLOAD_RESULT} -ne 0 ]]; then if [[ ${DOWNLOAD_RESULT} -ne 0 ]]; then
exit 1 exit 1
fi fi

Loading…
Cancel
Save