summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/scripts')
-rwxr-xr-xdesktop/scripts/soffice.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index 6f969b5af321..579915d1d6b3 100755
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -126,6 +126,9 @@ for arg in "$@" $EXTRAOPT ; do
export G_SLICE=always-malloc
export GLIBCXX_FORCE_NEW=1
;;
+ callgrind)
+ export LD_BIND_NOW=1
+ ;;
esac
else
echo "Error: Can't find the tool \"valgrind\", --valgrind option will be ignored"