From: Adam Powers Date: Wed, 18 Nov 2020 05:06:58 +0000 (-0800) Subject: allow repeated running X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c06dccd9200d88c567c276943f5419d23b571ac;p=nethack allow repeated running --- diff --git a/sys/unix/hints/include/cross-pre.2020 b/sys/unix/hints/include/cross-pre.2020 index 562a1934d..126572dda 100644 --- a/sys/unix/hints/include/cross-pre.2020 +++ b/sys/unix/hints/include/cross-pre.2020 @@ -334,7 +334,7 @@ EMCC_DEBUG_CFLAGS += -s SAFE_HEAP=1 EMCC_DEBUG_CFLAGS += -s LLD_REPORT_UNDEFINED=1 EMCC_DEBUG_CFLAGS += -s EXCEPTION_DEBUG=1 #EMCC_DEBUG_CFLAGS += -fsanitize=undefined -fsanitize=address -fsanitize=leak -EMCC_DEBUG_CFLAGS += -s EXIT_RUNTIME=1 +EMCC_DEBUG_CFLAGS += -s NO_EXIT_RUNTIME # XXX: if --profiling isn't included then any error dumps 10MB of WASM to the screen rather than a useful message EMCC_DEBUG_CFLAGS += --profiling EMCC_PROD_CFLAGS += -O3