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

Fix compiling Godot for Linux failing with profiler_sample_callstack

This commit is contained in:
Ramón Grill
2025-12-13 21:28:20 +01:00
parent 08e6cd181f
commit 8e6f554aec

View File

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