1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Merge pull request #114001 from CrabNickolson/fix-tracy-linux-compilation

Fix compiling Godot for Linux failing with `profiler_sample_callstack=yes`
This commit is contained in:
Thaddeus Crews
2025-12-15 13:02:04 -06:00

View File

@@ -60,7 +60,7 @@ if env["profiler"]:
env_tracy = env.Clone()
env_tracy.Append(CPPDEFINES=["TRACY_ENABLE"])
if env["profiler_sample_callstack"]:
if env["platform"] not in ("windows", "linux", "android"):
if env["platform"] not in ("windows", "linuxbsd", "android"):
# Reference the feature matrix in the tracy documentation.
print("Tracy does not support call stack sampling on this platform. Aborting.")
Exit(255)