pvscheck: When using --recheck rerun build

[ci skip]
This commit is contained in:
ZyX
2017-05-02 18:33:41 +03:00
parent 3638d28f68
commit 0c6e0460b6

View File

@@ -262,7 +262,7 @@ create_compile_commands() {(
export CFLAGS=' -O0 '
if test -z "$deps" ; then
mkdir "$tgt/build"
mkdir -p "$tgt/build"
cd "$tgt/build"
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="$PWD/root"
@@ -347,6 +347,8 @@ do_recheck() {
adjust_path "$tgt"
create_compile_commands "$tgt" "$deps"
run_analysis "$tgt"
}