wasm: don't set GL_DEBUG

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 <lorn.potter@gmail.com>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
This commit is contained in:
Morten Sørvig 2022-08-26 12:54:44 +02:00 committed by Morten Johan Sørvig
parent 3f23080809
commit 8c959a3609
2 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,6 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)
# a few good defaults to make console more verbose while debugging # a few good defaults to make console more verbose while debugging
target_link_options("${wasmTarget}" INTERFACE $<$<CONFIG:Debug>: target_link_options("${wasmTarget}" INTERFACE $<$<CONFIG:Debug>:
"SHELL:-s DEMANGLE_SUPPORT=1" "SHELL:-s DEMANGLE_SUPPORT=1"
"SHELL:-s GL_DEBUG=1"
--profiling-funcs>) --profiling-funcs>)
# target_link_options("${wasmTarget}" INTERFACE "SHELL:-s LIBRARY_DEBUG=1") # print out library calls, verbose # target_link_options("${wasmTarget}" INTERFACE "SHELL:-s LIBRARY_DEBUG=1") # print out library calls, verbose

View File

@ -47,7 +47,7 @@ EMCC_COMMON_LFLAGS_DEBUG = \
# -s SYSCALL_DEBUG=1 \ #print out sys calls, verbose # -s SYSCALL_DEBUG=1 \ #print out sys calls, verbose
# -s FS_LOG=1 \ #print out filesystem ops, verbose # -s FS_LOG=1 \ #print out filesystem ops, verbose
# -s SOCKET_DEBUG \ #print out socket,network data transfer # -s SOCKET_DEBUG \ #print out socket,network data transfer
-s GL_DEBUG=1 \ # -s GL_DEBUG=1 \
--profiling-funcs --profiling-funcs
QMAKE_LFLAGS_DEBUG += -g2 QMAKE_LFLAGS_DEBUG += -g2