From 2b5f3045ae9c3a6f953d4cd5ed5be1b898809fdf Mon Sep 17 00:00:00 2001 From: Arvind Sankar Date: Fri, 26 Jun 2020 18:27:30 -0400 Subject: [PATCH] paxcheck needs to run against the builddir not the srcdir Otherwise it does nothing on an out-of-tree build. Reviewed-by: Brian Behlendorf Signed-off-by: Arvind Sankar Closes #10506 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 432e04c07d..d0c0a1648e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -186,7 +186,7 @@ cppcheck: paxcheck: @if type scanelf > /dev/null 2>&1; then \ - ${top_srcdir}/scripts/paxcheck.sh ${top_srcdir}; \ + ${top_srcdir}/scripts/paxcheck.sh ${top_builddir}; \ else \ echo "skipping paxcheck because scanelf is not installed"; \ fi