Skip to content

Commit

Permalink
add scripts/clang_scan_build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rcr committed Apr 4, 2023
1 parent 761f67b commit 77fac10
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/clang_scan_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -e
set -u

export CFLAGS="-pipe -O0"
export LDFLAGS="-pipe"
export MAKEFLAGS="-e -f Makefile.dev -j $(nproc)"

make clean-dev clean-lib
make libs

scan-build -V make

0 comments on commit 77fac10

Please sign in to comment.