mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-27 14:32:14 +00:00
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:
parent
496844a0da
commit
b35fd59962
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue