Skip to content

Commit

Permalink
Merge pull request godotengine#93853 from Faless/web/no_force_stdlib
Browse files Browse the repository at this point in the history
[Web] Remove unnecessary `EMCC_FORCE_STDLIBS` in dlink builds
  • Loading branch information
akien-mga committed Jul 2, 2024
2 parents abfce31 + 67c0686 commit f0d15bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platform/web/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ if env["dlink_enabled"]:
sys_env.Append(LINKFLAGS=["-s", "MAIN_MODULE=1"])
sys_env.Append(LINKFLAGS=["-s", "EXPORT_ALL=1"])
sys_env.Append(LINKFLAGS=["-s", "WARN_ON_UNDEFINED_SYMBOLS=0"])
# Force exporting the standard library (printf, malloc, etc.)
sys_env["ENV"]["EMCC_FORCE_STDLIBS"] = "libc,libc++,libc++abi"
sys_env["CCFLAGS"].remove("-fvisibility=hidden")
sys_env["LINKFLAGS"].remove("-fvisibility=hidden")

Expand Down

0 comments on commit f0d15bb

Please sign in to comment.