mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
Teach the scan-build script to output to a chosen directory
This commit is contained in:
parent
f9f3014ce6
commit
a28e239b17
@ -46,6 +46,12 @@ NOISY_CHECKERS="\
|
|||||||
-enable-checker alpha.deadcode.UnreachableCode \
|
-enable-checker alpha.deadcode.UnreachableCode \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
if test "x$SCAN_BUILD_OUTPUT" != "x"; then
|
||||||
|
OUTPUTARG="-o $SCAN_BUILD_OUTPUT"
|
||||||
|
else
|
||||||
|
OUTPUTARG=""
|
||||||
|
fi
|
||||||
|
|
||||||
scan-build \
|
scan-build \
|
||||||
$CHECKERS \
|
$CHECKERS \
|
||||||
./configure
|
./configure
|
||||||
@ -53,7 +59,7 @@ scan-build \
|
|||||||
make clean
|
make clean
|
||||||
|
|
||||||
scan-build \
|
scan-build \
|
||||||
$CHECKERS \
|
$CHECKERS $OUTPUTARG \
|
||||||
make -j5 -k
|
make -j5 -k
|
||||||
|
|
||||||
CHECKERS="\
|
CHECKERS="\
|
||||||
|
Loading…
Reference in New Issue
Block a user