]> granicus.if.org Git - nethack/commitdiff
allow repeated running
authorAdam Powers <apowers@ato.ms>
Wed, 18 Nov 2020 05:06:58 +0000 (21:06 -0800)
committerAdam Powers <apowers@ato.ms>
Wed, 18 Nov 2020 05:06:58 +0000 (21:06 -0800)
sys/unix/hints/include/cross-pre.2020

index 562a1934de671081571d282103346abad57987db..126572ddae2a49b79235a948ff8c2bb1628ac8f5 100644 (file)
@@ -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