Skip to content

Commit

Permalink
Merge pull request #792 from 32blit/patch-emscripten-stack
Browse files Browse the repository at this point in the history
Increase Emscripten stack size (+options update)
  • Loading branch information
Gadgetoid committed Feb 9, 2023
2 parents 5032359 + 0c54328 commit 3c6de84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 32blit-sdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function(blit_executable NAME SOURCES)
if(EMSCRIPTEN)
set_target_properties(${NAME} PROPERTIES
SUFFIX ".html"
LINK_FLAGS "-s ENVIRONMENT=web -s SDL2_IMAGE_FORMATS=['jpg'] --shell-file ${EMSCRIPTEN_SHELL} -s 'EXTRA_EXPORTED_RUNTIME_METHODS=[\"addRunDependency\", \"removeRunDependency\"]'"
LINK_FLAGS "-sENVIRONMENT=web -sSDL2_IMAGE_FORMATS=['jpg'] --shell-file ${EMSCRIPTEN_SHELL} -s'EXPORTED_RUNTIME_METHODS=[\"addRunDependency\", \"removeRunDependency\"]' -sTOTAL_STACK=1MB"
LINK_DEPENDS ${EMSCRIPTEN_SHELL}
)

Expand Down

0 comments on commit 3c6de84

Please sign in to comment.