Optimize ffmpeg build.

This commit is contained in:
Alf
2020-09-29 22:33:36 -07:00
parent fdc065b72e
commit 0aa67f2043
2 changed files with 15 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
dist/ffmpeg-webtools.js:
mkdir -p dist && \
emcc --bind \
-O3 \
-L/opt/ffmpeg/lib \
-I/opt/ffmpeg/include/ \
-s EXTRA_EXPORTED_RUNTIME_METHODS="[FS, cwrap, ccall, getValue, setValue, writeAsciiToMemory]" \