From 51be30f3cd29682cd94fcbfbe18eeac492095a05 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 17 Aug 2022 21:37:32 -0400 Subject: [PATCH] emscripten-buildbot.sh: force `-s USE_SDL=0` This avoids using Emscripten-provided SDL headers from its own sysroot instead of the headers in our own include directory! Reference https://github.com/emscripten-core/emscripten/discussions/17647 --- build-scripts/emscripten-buildbot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/emscripten-buildbot.sh b/build-scripts/emscripten-buildbot.sh index 0898d747d..8538c45ae 100755 --- a/build-scripts/emscripten-buildbot.sh +++ b/build-scripts/emscripten-buildbot.sh @@ -55,7 +55,7 @@ mkdir buildbot pushd buildbot echo "Configuring..." -emconfigure ../configure --host=wasm32-unknown-emscripten --disable-assembly --disable-threads --disable-cpuinfo CFLAGS="-O2 -Wno-warn-absolute-paths -Wdeclaration-after-statement -Werror=declaration-after-statement" --prefix="$PWD/emscripten-sdl2-installed" || exit $? +emconfigure ../configure --host=wasm32-unknown-emscripten --disable-assembly --disable-threads --disable-cpuinfo CFLAGS="-s USE_SDL=0 -O2 -Wno-warn-absolute-paths -Wdeclaration-after-statement -Werror=declaration-after-statement" --prefix="$PWD/emscripten-sdl2-installed" || exit $? echo "Building..." emmake $MAKE || exit $?