Skip to content
Permalink
Browse files
WASI: move the stack before globals
  • Loading branch information
jedisct1 committed Jul 28, 2020
1 parent bdf02c5 commit c879a1d572de4bb2d3bd90516f449557eb156c96
Showing 1 changed file with 1 addition and 1 deletion.
@@ -55,4 +55,4 @@ set(CMAKE_ASM_OUTPUT_EXTENSION .o)
# Set compile flags

string(CONCAT CMAKE_C_FLAGS " -DED25519_NONDETERMINISTIC=1 --target=wasm32-wasi"
" --sysroot=${sysroot_dir}")
" --sysroot=${sysroot_dir} -Wl,--stack-first")

0 comments on commit c879a1d

Please sign in to comment.