mirror of https://github.com/godotengine/godot
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:
commit
c341d7c25f
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue