diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-08 12:11:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-08 12:11:24 +0200 |
commit | 95343c998a078b30ca83d2e1be40149f7f56fed7 (patch) | |
tree | 0611c4a65f70511ab50eb17b05f1b3710f0f3d61 /desktop | |
parent | bdfcc8c92947b7c1629c3b7f3a0326ed01c4cf17 (diff) |
Disable rtl/alloc.h also for Helgrind
Change-Id: I472d11d50a3b0810779108f3f81624ab9880fe8b
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 6d5dc38f1164..26fb7767517b 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -107,10 +107,12 @@ for arg in $@ $VALGRINDOPT ; do VALGRINDCHECK="valgrind --tool=$VALGRIND --trace-children=yes $valgrind_skip --num-callers=50 --error-limit=no" echo "use kill -SIGUSR2 pid to dump traces of active allocations" checks="c$checks" - if [ "$VALGRIND" = "memcheck" ] ; then + case $VALGRIND in + helgrind|memcheck) export G_SLICE=always-malloc export GLIBCXX_FORCE_NEW=1 - fi + ;; + esac else echo "Error: Can't find the tool \"valgrind\", --valgrind option will be ignored" exit 1 |