diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-05 11:33:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-05 11:35:00 +0100 |
commit | 6c2ea320bfb797c49d7c9e3e2cf7ca7c47ad3160 (patch) | |
tree | add2218ede64267f36d927866e4a2f6115f9f8c2 /desktop | |
parent | c22ab8e95f885e3a0afb492a5a78a0d5c0f39066 (diff) |
don't use G_SLICE for helgrind case
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/scripts/soffice.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index ef1f2dc135b0..106bded2ea6a 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -75,8 +75,10 @@ fi if [ "$VALGRIND" != "" ]; then VALGRINDCHECK="valgrind --tool=$VALGRIND --trace-children=yes --trace-children-skip=*/java --error-exitcode=101" export VALGRINDCHECK - G_SLICE=always-malloc - export G_SLICE + if [ "$VALGRIND" = "memcheck" ]; then + G_SLICE=always-malloc + export G_SLICE + fi fi case "`uname -s`" in |