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
aef8a72afe
commit
004e7d3f9a
14
Makefile.am
14
Makefile.am
|
@ -129,10 +129,20 @@ SHELLCHECKDIRS = cmd contrib etc scripts tests
|
||||||
SHELLCHECKSCRIPTS = autogen.sh
|
SHELLCHECKSCRIPTS = autogen.sh
|
||||||
|
|
||||||
PHONY += checkabi storeabi
|
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
|
$(MAKE) -C lib checkabi
|
||||||
|
|
||||||
storeabi: lib
|
storeabi: checklibabiversion lib
|
||||||
$(MAKE) -C lib storeabi
|
$(MAKE) -C lib storeabi
|
||||||
|
|
||||||
PHONY += mancheck
|
PHONY += mancheck
|
||||||
|
|
Loading…
Reference in New Issue