paxcheck needs to run against the builddir not the srcdir

Otherwise it does nothing on an out-of-tree build.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10506
This commit is contained in:
Arvind Sankar 2020-06-26 18:27:30 -04:00 committed by Brian Behlendorf
parent c79907f901
commit 2b5f3045ae

View File

@ -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