Skip to content

Commit

Permalink
cleaner workaround for issue tanersener#328
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcohn committed Mar 31, 2020
1 parent 791a40b commit 8abfdf1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build/android-ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,12 @@ if [ $? -ne 0 ]; then
exit 1
fi

# Workaround for issue #328 # TODO(alexcohn): does it apply to Android at all?
echo "" >>Makefile
echo "libswscale/aarch64/hscale.o: ${BASEDIR}/tools/make/ffmpeg/libswscale/aarch64/hscale.S" >>Makefile
echo ' aarch64-linux-android24-clang $(ASFLAGS) $(AS_DEPFLAGS) -c -o $@ $<' >>Makefile
# Workaround for issue #328
if [ 0 -eq $(grep -c hscale.S Makefile) ]; then
echo "" >>Makefile
echo "libswscale/aarch64/hscale.o: ${BASEDIR}/tools/make/ffmpeg/libswscale/aarch64/hscale.S" >>Makefile
echo ' $(COMPILE_S)' >>Makefile
fi

if [[ -z ${NO_OUTPUT_REDIRECTION} ]]; then
make -j$(get_cpu_count) 1>>${BASEDIR}/build.log 2>&1
Expand Down

0 comments on commit 8abfdf1

Please sign in to comment.