]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Static scanner and expensive debugging setup fix
authorMaria Matejka <mq@ucw.cz>
Sat, 17 Aug 2019 06:54:08 +0000 (08:54 +0200)
committerMaria Matejka <mq@ucw.cz>
Fri, 1 May 2020 13:19:12 +0000 (15:19 +0200)
Makefile.in
configure.ac

index 2698e34dbe38c4b0aa058c76ab7fb0695a1a2480..da6cd206a5c48d8fd1d01e561cc085f9b5f89a42 100644 (file)
@@ -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_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:
        $(E)echo Running static code analysis
index 96f666442d249f76e090e38a4ae08e63231512f2..eabb3d562e584afa68aea5788a6660bd9193fe83 100644 (file)
@@ -79,7 +79,7 @@ AC_ARG_VAR([BISON], [location of the Bison program])
 AC_ARG_VAR([M4], [location of the M4 program])
 
 if test "$enable_debug_expensive" = yes; then
-  enable_debug = yes
+  enable_debug=yes
 fi
 
 if test "$srcdir" = . ; then