From c64add170e7de2a2b2a1bc46eb38222f6f8ce0b3 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 5 Oct 2019 14:34:11 -0600 Subject: [PATCH] Fix "make pvs-studio" run in a build dir --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index d50b18450..b6babf7f9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -91,7 +91,7 @@ CPPCHECK_OPTS = -q --force --enable=warning,performance,portability --suppress=c SPLINT_OPTS = -D__restrict= -checks # Default PVS-studio options when run from the top-level Makefile -PVS_CFG = $(top_srcdir)/PVS-Studio.cfg +PVS_CFG = $(top_builddir)/PVS-Studio.cfg PVS_IGNORE = 'V707,V011,V002,V536' PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)