From 8c959a3609e7efc7a15f1c48d92f4545bac35260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20S=C3=B8rvig?= Date: Fri, 26 Aug 2022 12:54:44 +0200 Subject: [PATCH] wasm: don't set GL_DEBUG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This spams the console with "writeStackCookie"/"checkStackCookie" messages, which makes finding relevant debug output harder. Pick-to: 6.4 Change-Id: I352b633f02f9ecc1333d1d91f5ffc21a4a937e53 Reviewed-by: Lorn Potter Reviewed-by: Jörg Bornemann Reviewed-by: Mikołaj Boc --- cmake/QtWasmHelpers.cmake | 1 - mkspecs/wasm-emscripten/qmake.conf | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/QtWasmHelpers.cmake b/cmake/QtWasmHelpers.cmake index 4df4ba4131c..96d3edbeb3a 100644 --- a/cmake/QtWasmHelpers.cmake +++ b/cmake/QtWasmHelpers.cmake @@ -53,7 +53,6 @@ function (qt_internal_setup_wasm_target_properties wasmTarget) # a few good defaults to make console more verbose while debugging target_link_options("${wasmTarget}" INTERFACE $<$: "SHELL:-s DEMANGLE_SUPPORT=1" - "SHELL:-s GL_DEBUG=1" --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 6bb99d49b62..1b23ef54a3f 100644 --- a/mkspecs/wasm-emscripten/qmake.conf +++ b/mkspecs/wasm-emscripten/qmake.conf @@ -47,7 +47,7 @@ EMCC_COMMON_LFLAGS_DEBUG = \ # -s SYSCALL_DEBUG=1 \ #print out sys calls, verbose # -s FS_LOG=1 \ #print out filesystem ops, verbose # -s SOCKET_DEBUG \ #print out socket,network data transfer - -s GL_DEBUG=1 \ + # -s GL_DEBUG=1 \ --profiling-funcs QMAKE_LFLAGS_DEBUG += -g2