diff options
| -rw-r--r-- | xmake/modules/core/tools/emcc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/emcc.lua b/xmake/modules/core/tools/emcc.lua index 18fc32848..1c9868906 100644 --- a/xmake/modules/core/tools/emcc.lua +++ b/xmake/modules/core/tools/emcc.lua @@ -49,9 +49,9 @@ end function nf_symbol(self, level) local kind = self:kind() if kind == "ld" or kind == "sh" then - -- emscripten requires -gsource-map when linking to map JS/wasm code back to original source + -- emscripten requires -g when linking to map JS/wasm code back to original source if level == "debug" then - return "-gsource-map" + return "-g" end end |
