diff --git a/main/gui/CMakeLists.txt b/main/gui/CMakeLists.txt index b01a84aa4..c718daf57 100644 --- a/main/gui/CMakeLists.txt +++ b/main/gui/CMakeLists.txt @@ -40,6 +40,8 @@ if (EMSCRIPTEN) target_link_options(main PRIVATE -sWASM_BIGINT) target_link_options(main PRIVATE -O1) target_link_options(main PRIVATE -sLEGACY_GL_EMULATION) + target_link_options(main PRIVATE -fsanitize=null) + target_link_options(main PRIVATE -fsanitize-minimal-runtime) target_link_libraries(main PRIVATE idbfs.js) endif ()