mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Static scanner and expensive debugging setup fix
This commit is contained in:
parent
21532cdb14
commit
dfd2e5ee69
@ -186,7 +186,7 @@ tests_run: $(tests_targets_ok)
|
|||||||
|
|
||||||
STATIC_CHECKERS_ENABLE := nullability.NullableDereferenced nullability.NullablePassedToNonnull nullability.NullableReturnedFromNonnull optin.portability.UnixAPI valist.CopyToSelf valist.Uninitialized valist.Unterminated
|
STATIC_CHECKERS_ENABLE := nullability.NullableDereferenced nullability.NullablePassedToNonnull nullability.NullableReturnedFromNonnull optin.portability.UnixAPI valist.CopyToSelf valist.Uninitialized valist.Unterminated
|
||||||
STATIC_CHECKERS_DISABLE := deadcode.DeadStores
|
STATIC_CHECKERS_DISABLE := deadcode.DeadStores
|
||||||
STATIC_SCAN_FLAGS := --force-analyze-debug-code -o $(objdir)/static-scan/ $(addprefix -enable-checker ,$(STATIC_CHECKERS_ENABLE)) $(addprefix -disable-checker ,$(STATIC_CHECKERS_DISABLE))
|
STATIC_SCAN_FLAGS := -o $(objdir)/static-scan/ $(addprefix -enable-checker ,$(STATIC_CHECKERS_ENABLE)) $(addprefix -disable-checker ,$(STATIC_CHECKERS_DISABLE))
|
||||||
|
|
||||||
static-scan:
|
static-scan:
|
||||||
$(E)echo Running static code analysis
|
$(E)echo Running static code analysis
|
||||||
|
@ -79,7 +79,7 @@ AC_ARG_VAR([BISON], [location of the Bison program])
|
|||||||
AC_ARG_VAR([M4], [location of the M4 program])
|
AC_ARG_VAR([M4], [location of the M4 program])
|
||||||
|
|
||||||
if test "$enable_debug_expensive" = yes; then
|
if test "$enable_debug_expensive" = yes; then
|
||||||
enable_debug = yes
|
enable_debug=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$srcdir" = . ; then
|
if test "$srcdir" = . ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user