Check for libabigail version
We need to use 1.8.0+ version, older versions may segfault and give inconsistent results. Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: George Melikov <mail@gmelikov.ru> Closes #12529
This commit is contained in:
parent
157a4d05bd
commit
a9655fc2bd
14
Makefile.am
14
Makefile.am
|
@ -129,10 +129,20 @@ SHELLCHECKDIRS = cmd contrib etc scripts tests
|
|||
SHELLCHECKSCRIPTS = autogen.sh
|
||||
|
||||
PHONY += checkabi storeabi
|
||||
checkabi: lib
|
||||
|
||||
checklibabiversion:
|
||||
libabiversion=`abidw -v | $(SED) 's/[^0-9]//g'`; \
|
||||
if test $$libabiversion -lt "180"; then \
|
||||
/bin/echo -e "\n" \
|
||||
"*** Please use libabigail 1.8.0 version or newer;\n" \
|
||||
"*** otherwise results are not consistent!\n"; \
|
||||
exit 1; \
|
||||
fi;
|
||||
|
||||
checkabi: checklibabiversion lib
|
||||
$(MAKE) -C lib checkabi
|
||||
|
||||
storeabi: lib
|
||||
storeabi: checklibabiversion lib
|
||||
$(MAKE) -C lib storeabi
|
||||
|
||||
PHONY += mancheck
|
||||
|
|
Loading…
Reference in New Issue