[Libreoffice-commits] dev-tools.git: cppcheck/cppcheck-report.sh
Julien Nabet
serval2412 at yahoo.fr
Mon Jan 2 09:15:49 UTC 2017
cppcheck/cppcheck-report.sh | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c7296ea60fb6dfa2a9995298684d677a32defb27
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Jan 2 10:13:12 2017 +0100
"make clean" before "make" to try to avoid some segfaults
diff --git a/cppcheck/cppcheck-report.sh b/cppcheck/cppcheck-report.sh
index fa03d8f..31f8360 100755
--- a/cppcheck/cppcheck-report.sh
+++ b/cppcheck/cppcheck-report.sh
@@ -75,6 +75,8 @@ get_lo_src()
build_cppcheck()
{
pushd "${CPPCHECK_DIR?}" > /dev/null || die "Failed to change directory to ${CPPCHECK_DIR?}"
+ # cppcheck is quite small so it can be built from scratch to avoid some pb
+ make clean
make all || die "Failed to build cppcheck."
popd > /dev/null || die "Failed to change directory out of ${CPPCHECK_DIR?}"
}
More information about the Libreoffice-commits
mailing list