mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-24 18:48:01 +02:00
Update BuildContext.bf
This commit is contained in:
parent
2fd5d67e07
commit
8a8088127f
1 changed files with 2 additions and 2 deletions
|
@ -704,10 +704,10 @@ namespace IDE
|
|||
|
||||
compilerExePath.Append(@"/upstream/emscripten/emcc.bat");
|
||||
//linkLine.Append(" c:\\Beef\\wasm\\BeefRT.a -s STRICT=1 -s USE_PTHREADS=1 -s ALIASING_FUNCTION_POINTERS=1 -s ASSERTIONS=0 -s DISABLE_EXCEPTION_CATCHING=0 -s DEMANGLE_SUPPORT=0 -s EVAL_CTORS=1 -s WASM=1 -s \"EXPORTED_FUNCTIONS=['_BeefMain','_BeefDone','_pthread_mutexattr_init','_pthread_mutex_init','_emscripten_futex_wake','_calloc','_sbrk']\"");
|
||||
linkLine.Append("-s DISABLE_EXCEPTION_CATCHING=0 -s DEMANGLE_SUPPORT=0 -s WASM=1");
|
||||
linkLine.Append("-s DISABLE_EXCEPTION_CATCHING=0 -s DEMANGLE_SUPPORT=0");
|
||||
|
||||
if (project.mWasmOptions.mEnableThreads)
|
||||
linkLine.Append(" -s USE_PTHREADS=1");
|
||||
linkLine.Append(" -pthread");
|
||||
|
||||
if (workspaceOptions.mEmitDebugInfo != .No)
|
||||
linkLine.Append(" -g");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue