From 549bf059cd03d85aee7a4e5e605066b18213faa5 Mon Sep 17 00:00:00 2001 From: willclarktech Date: Thu, 1 Aug 2019 12:49:02 +0200 Subject: [PATCH] Set NODEJS_CATCH_EXIT=0 in emscripten LDFLAGS --- dist-build/emscripten.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 63bb9979..92c63018 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -14,6 +14,7 @@ export LDFLAGS="${LDFLAGS} -s ASSERTIONS=0" export LDFLAGS="${LDFLAGS} -s AGGRESSIVE_VARIABLE_ELIMINATION=1 -s ALIASING_FUNCTION_POINTERS=1" export LDFLAGS="${LDFLAGS} -s DISABLE_EXCEPTION_CATCHING=1" export LDFLAGS="${LDFLAGS} -s ELIMINATE_DUPLICATE_FUNCTIONS=1" +export LDFLAGS="${LDFLAGS} -s NODEJS_CATCH_EXIT=0" export CFLAGS="-Os" echo