summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 01c9861169..09a6b1fef7 100644
--- a/Makerules
+++ b/Makerules
@@ -1190,6 +1190,7 @@ check-abi-%: $(..)scripts/extract-abilist.awk $(common-objpfx)config.make \
 define check-abi
 	LC_ALL=C \
 	$(AWK) -f $< -v 'config=$(check-abi-config)' \
+	       $(patsubst %,-v 'lastversion=%',$($*-abi-frozen)) \
 	       $(filter %.abilist,$^) \
 	| { diff -p -U 0 - $(filter %.symlist,$^) $(check-abi-warn) ; }
 endef