ffmpegwasm / ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly
https://ffmpegwasm.netlify.app
MIT License
14.01k stars 816 forks source link

build ffmpeg.wasm error #517

Open mtsee opened 1 year ago

mtsee commented 1 year ago

docker bash ./build-with-docker.sh

build error!

clang-12: error: unknown argument: '-mno-ieee-fp' CC vorbisfile.lo emcc: error: '/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -DEMSCRIPTEN_major=2 -DEMSCRIPTEN_minor=0 -DEMSCRIPTEN_tiny__=8 -D_LIBCPP_ABI_VERSION=2 -Dunix -Dunix -Dunix -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystem/emsdk/upstream/emscripten/system/include/compat -Xclang -isystem/emsdk/upstream/emscripten/system/include -Xclang -isystem/emsdk/upstream/emscripten/system/include/libc -Xclang -isystem/emsdk/upstream/emscripten/system/lib/libc/musl/arch/emscripten -Xclang -isystem/emsdk/upstream/emscripten/system/local/include -Xclang -isystem/emsdk/upstream/emscripten/system/include/SSE -Xclang -isystem/emsdk/upstream/emscripten/system/include/neon -Xclang -isystem/emsdk/upstream/emscripten/system/lib/compiler-rt/include -Xclang -isystem/emsdk/upstream/emscripten/system/lib/libunwind/include -Xclang -isystem/emsdk/upstream/emscripten/cache/wasm/include -DEMSCRIPTEN -fignore-exceptions -D__EMSCRIPTEN_PTHREADS__=1 -DHAVE_CONFIG_H -I. -I.. -I../include -I/src/build/include -D_V_SELFTEST -O3 -Wall -Wextra -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -O3 -I/src/build/include -DUSE_MEMORY_H -c -o test_sharedbook-sharedbook.o -pthread -pthread sharedbook.c -Xclang -isystem/emsdk/upstream/emscripten/system/include/SDL -c -o test_sharedbook-sharedbook.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)
make[2]: *** [Makefile:654: test_sharedbook-sharedbook.o] Error 1