mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Fix exceptions
This commit is contained in:
@@ -89,13 +89,18 @@ endif()
|
|||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "Emscripten")
|
if(CMAKE_SYSTEM_NAME MATCHES "Emscripten")
|
||||||
|
add_compile_options(
|
||||||
|
-fexceptions
|
||||||
|
)
|
||||||
|
|
||||||
add_link_options(
|
add_link_options(
|
||||||
|
-fexceptions
|
||||||
-sALLOW_MEMORY_GROWTH=1
|
-sALLOW_MEMORY_GROWTH=1
|
||||||
-sASSERTIONS
|
-sASSERTIONS
|
||||||
-sWASM_BIGINT
|
-sWASM_BIGINT
|
||||||
-sENVIRONMENT=web
|
-sENVIRONMENT=web
|
||||||
-sUSE_OFFSET_CONVERTER
|
-sUSE_OFFSET_CONVERTER
|
||||||
-sEXCEPTION_CATCHING_ALLOWED=[..]
|
#-sEXCEPTION_CATCHING_ALLOWED=[..]
|
||||||
-sEXIT_RUNTIME
|
-sEXIT_RUNTIME
|
||||||
#-lnodefs.js -sNODERAWFS=1
|
#-lnodefs.js -sNODERAWFS=1
|
||||||
#-sASYNCIFY
|
#-sASYNCIFY
|
||||||
|
|||||||
Reference in New Issue
Block a user