SDL2: Disable assembly for Emscripten build.

This causes errors / warnings related to SIMD and the SDL2 docs say
to disable it.
This commit is contained in:
Simon Howard 2018-09-30 23:36:35 -04:00
parent 496844a0da
commit b35fd59962

View file

@ -20,6 +20,11 @@ if [ $(uname) = "Cygwin" ] || [[ "$BUILD_HOST" = *mingw* ]]; then
config_options+=" --disable-directx"
fi
# Disable assembly to avoid depending on SIMD stuff.
if [[ "$BUILD_HOST" = *-*-emscripten ]]; then
config_options+=" --disable-assembly"
fi
# For SDL, we do an out-of-tree build in a subdirectory, since the configure
# script can complain otherwise.
AUTOTOOLS_BUILD_PATH=build-artifacts