You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
-Changed Godot exit to be clean.
-Added more debug information on memory cleanliness on exit (if run with -v) -Fixed several memory leaks, fixes #1731, fixes #755
This commit is contained in:
@@ -52,6 +52,7 @@ def get_opts():
|
||||
return [
|
||||
('use_llvm','Use llvm compiler','no'),
|
||||
('use_sanitizer','Use llvm compiler sanitize address','no'),
|
||||
('use_leak_sanitizer','Use llvm compiler sanitize memory leaks','no'),
|
||||
('pulseaudio','Detect & Use pulseaudio','yes'),
|
||||
('new_wm_api', 'Use experimental window management API','no'),
|
||||
]
|
||||
@@ -94,6 +95,12 @@ def configure(env):
|
||||
env.Append(LINKFLAGS=['-fsanitize=address'])
|
||||
env.extra_suffix+="s"
|
||||
|
||||
if (env["use_leak_sanitizer"]=="yes"):
|
||||
env.Append(CXXFLAGS=['-fsanitize=address','-fno-omit-frame-pointer'])
|
||||
env.Append(LINKFLAGS=['-fsanitize=address'])
|
||||
env.extra_suffix+="s"
|
||||
|
||||
|
||||
#if (env["tools"]=="no"):
|
||||
# #no tools suffix
|
||||
# env['OBJSUFFIX'] = ".nt"+env['OBJSUFFIX']
|
||||
|
||||
Reference in New Issue
Block a user