diff options
author | Morten Sørvig <morten.sorvig@qt.io> | 2022-05-10 08:28:11 +0200 |
---|---|---|
committer | Morten Sørvig <morten.sorvig@qt.io> | 2022-05-12 16:34:24 +0200 |
commit | bd8d3fb47ca685da9ce038bd6c6ee66e49ec9317 (patch) | |
tree | 861281a4e21327b12ac72db6ace8e780f78aed5b | |
parent | e2a8b0adbd099cfda84e931f6a24f34e80b12fd7 (diff) |
wasm: set ASSERTIONS level to default (1)
This removes one of the conditions which enables
wasm-emscripten-finalize.
Task-number: QTBUG-103352
Change-Id: Id05db4b081dec360cdad2e611622e5baf09aeb23
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: David Skoland <david.skoland@qt.io>
-rw-r--r-- | cmake/QtWasmHelpers.cmake | 1 | ||||
-rw-r--r-- | mkspecs/wasm-emscripten/qmake.conf | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/cmake/QtWasmHelpers.cmake b/cmake/QtWasmHelpers.cmake index 31b94c5e3f..77c77d2882 100644 --- a/cmake/QtWasmHelpers.cmake +++ b/cmake/QtWasmHelpers.cmake @@ -65,7 +65,6 @@ function (qt_internal_setup_wasm_target_properties wasmTarget) target_link_options("${wasmTarget}" INTERFACE $<$<CONFIG:Debug>: "SHELL:-s DEMANGLE_SUPPORT=1" "SHELL:-s GL_DEBUG=1" - "SHELL:-s ASSERTIONS=2" --profiling-funcs>) # target_link_options("${wasmTarget}" INTERFACE "SHELL:-s LIBRARY_DEBUG=1") # print out library calls, verbose diff --git a/mkspecs/wasm-emscripten/qmake.conf b/mkspecs/wasm-emscripten/qmake.conf index 0dd4e57787..270ab39559 100644 --- a/mkspecs/wasm-emscripten/qmake.conf +++ b/mkspecs/wasm-emscripten/qmake.conf @@ -44,7 +44,6 @@ EMCC_COMMON_LFLAGS += \ # but are here in debug for clarity. EMCC_COMMON_LFLAGS_DEBUG = \ $$EMCC_COMMON_LFLAGS \ - -s ASSERTIONS=2 \ -s DEMANGLE_SUPPORT=1 \ # -s LIBRARY_DEBUG=1 \ #print out library calls, verbose # -s SYSCALL_DEBUG=1 \ #print out sys calls, verbose |