diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-08-20 16:46:09 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-20 16:46:09 +0100 |
commit | 5e6727746367ba3f935dccb80109abf8e34fe74d (patch) | |
tree | b739f3b7c8ec254fe4bc71c28a4c127f0efc8b64 /run.in | |
parent | cd1627e8041ffa06764ef82b984f4291660edcc9 (diff) | |
download | libguestfs-5e6727746367ba3f935dccb80109abf8e34fe74d.tar.gz libguestfs-5e6727746367ba3f935dccb80109abf8e34fe74d.tar.xz libguestfs-5e6727746367ba3f935dccb80109abf8e34fe74d.zip |
run: Disable 'memory optimizations' in glib programs, for valgrind (thanks Dan Berrange).
Diffstat (limited to 'run.in')
-rw-r--r-- | run.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -94,6 +94,9 @@ else GI_TYPELIB_PATH="$b/gobject:$GI_TYPELIB_PATH" fi export GI_TYPELIB_PATH +# Be friendly to valgrind (https://live.gnome.org/Valgrind) +export G_SLICE=always-malloc +export G_DEBUG=gc-friendly # This is a cheap way to find some use-after-free and uninitialized # read problems when using glibc. |