Merge pull request #289 from libtom/pr/scan-build-status-bugs

scan-build --status-bugs, related to #287
This commit is contained in:
karel-m 2017-09-15 06:47:08 +02:00 committed by GitHub
commit 0ceb1c1213

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"