Merge pull request #86 from cutcoin/fix_binaryen_method_issue

Fixed issue with deprecated emscripten linker flag BINARYEN_METHOD
pull/92/head
Paul Shapiro 5 years ago committed by GitHub
commit 0ce8edc564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -161,7 +161,6 @@ set(
-Os \
--separate-asm \
-s AGGRESSIVE_VARIABLE_ELIMINATION=1 \
-s \"BINARYEN_METHOD='asmjs'\" \
-s ALLOW_MEMORY_GROWTH=0 \
--memory-init-file 0 \
"
@ -175,7 +174,6 @@ set(
"${EMCC_LINKER_FLAGS___BASE} \
-s WASM=1 \
-Oz \
-s \"BINARYEN_METHOD='native-wasm'\" \
-s ALLOW_MEMORY_GROWTH=1 \
--post-js ${CMAKE_CURRENT_LIST_DIR}/src/module-post.js \
"
@ -225,4 +223,4 @@ target_link_libraries(
boost_thread
#
${log-lib}
)
)

Loading…
Cancel
Save