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:
parent
3f23080809
commit
8c959a3609
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user