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:
parent
c79907f901
commit
2b5f3045ae
|
@ -186,7 +186,7 @@ cppcheck:
|
||||||
|
|
||||||
paxcheck:
|
paxcheck:
|
||||||
@if type scanelf > /dev/null 2>&1; then \
|
@if type scanelf > /dev/null 2>&1; then \
|
||||||
${top_srcdir}/scripts/paxcheck.sh ${top_srcdir}; \
|
${top_srcdir}/scripts/paxcheck.sh ${top_builddir}; \
|
||||||
else \
|
else \
|
||||||
echo "skipping paxcheck because scanelf is not installed"; \
|
echo "skipping paxcheck because scanelf is not installed"; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue