From bd8d3fb47ca685da9ce038bd6c6ee66e49ec9317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20S=C3=B8rvig?= Date: Tue, 10 May 2022 08:28:11 +0200 Subject: [PATCH] wasm: set ASSERTIONS level to default (1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This removes one of the conditions which enables wasm-emscripten-finalize. Task-number: QTBUG-103352 Change-Id: Id05db4b081dec360cdad2e611622e5baf09aeb23 Reviewed-by: Tor Arne Vestbø Reviewed-by: David Skoland --- cmake/QtWasmHelpers.cmake | 1 - mkspecs/wasm-emscripten/qmake.conf | 1 - 2 files changed, 2 deletions(-) diff --git a/cmake/QtWasmHelpers.cmake b/cmake/QtWasmHelpers.cmake index 31b94c5e3f3..77c77d28820 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 $<$: "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 0dd4e57787e..270ab395597 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