Skip to content

Commit

Permalink
Added flags for static linking of libgcc and libstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriySalnikov committed May 26, 2024
1 parent 60e753e commit 88e865f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ def setup_defines_and_flags(env, src_out):
if env["tracy_enabled"]:
env.Append(CPPDEFINES=["TRACY_ENABLE", "TRACY_ON_DEMAND", "TRACY_DELAYED_INIT", "TRACY_MANUAL_LIFETIME"])
src_out.append("src/thirdparty/tracy/public/TracyClient.cpp")

if env["platform"] == "linux":
env.Append(
LINKFLAGS=[
"-static-libgcc",
"-static-libstdc++",
]
)
print()


Expand Down

0 comments on commit 88e865f

Please sign in to comment.