wasm: don't set DISABLE_EXCEPTION_CATCHING
This is on by default anyway (see Emscripten settings.js), and setting it here interferes if exceptions are enabled by other means. Fixes: QTBUG-121822 Change-Id: I61d3f1960208e928a4144cff56a0b03c39087a34 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
parent
1fbcb411e1
commit
d795dbc643
@ -34,8 +34,6 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)
|
||||
if (QT_FEATURE_wasm_exceptions)
|
||||
target_compile_options("${wasmTarget}" INTERFACE -fwasm-exceptions)
|
||||
target_link_options("${wasmTarget}" INTERFACE -fwasm-exceptions)
|
||||
else()
|
||||
target_link_options("${wasmTarget}" INTERFACE "SHELL:-s DISABLE_EXCEPTION_CATCHING=1")
|
||||
endif()
|
||||
|
||||
if (QT_FEATURE_thread)
|
||||
|
Loading…
x
Reference in New Issue
Block a user