dont generate source maps for web as it crashes lua build

This commit is contained in:
veclavtalica 2025-02-22 01:39:04 +03:00
parent 7a38f7bcf3
commit ce7240d423

View File

@ -167,8 +167,7 @@ function(give_options_without_warnings target)
-g3 -g3
-gdwarf -gdwarf
-fno-omit-frame-pointer -fno-omit-frame-pointer
$<$<BOOL:${TWN_SANITIZE}>:-fstack-protector-all -fsanitize=undefined -fsanitize=address> $<$<BOOL:${TWN_SANITIZE}>:-fstack-protector-all -fsanitize=undefined -fsanitize=address>)
$<$<BOOL:${EMSCRIPTEN}>:-gsource-map>)
set(LINK_FLAGS set(LINK_FLAGS
-Bsymbolic-functions -Bsymbolic-functions