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
commit c341d7c25f
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 1 additions and 1 deletions

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)