1
0
Fork 0
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:
sere3925sere 2023-06-15 18:48:56 +04:00 committed by GitHub
parent 2fd5d67e07
commit 8a8088127f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");