scan_build --status-bugs - related to #287

This commit is contained in:
Karel Miko 2017-09-14 21:42:33 +02:00
parent 04cc6cc652
commit 84fcd4aec7

View File

@ -16,4 +16,4 @@ scan_build=$(which scan-build)
[ -z "$scan_build" ] && { echo "couldn't find clang scan-build"; exit 1; } || echo "run $scan_build"
export CFLAGS="-DUSE_LTM -DLTM_DESC -I/usr/include"
export EXTRALIBS="-ltommath"
$scan_build make -f makefile.unix all CFLAGS="$CFLAGS" EXTRALIBS="$EXTRALIBS"
$scan_build --status-bugs make -f makefile.unix all CFLAGS="$CFLAGS" EXTRALIBS="$EXTRALIBS"