1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 19:48:01 +02:00

Merge pull request #1425 from disarray2077/patch-4

Fix ASSERTIONS in emcc command-line
This commit is contained in:
Brian Fiete 2022-02-11 05:15:04 -08:00 committed by GitHub
commit 12dd52fd12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -655,8 +655,8 @@ namespace IDE
if (workspaceOptions.mEmitDebugInfo != .No)
linkLine.Append(" -g");
if (workspaceOptions.mRuntimeChecks)
linkLine.Append(" -s ASSERTIONS=1");
if (!workspaceOptions.mRuntimeChecks)
linkLine.Append(" -s ASSERTIONS=0");
linkLine.Replace('\\', '/');