summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-04 10:42:58 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-04 10:42:58 +0100
commit983208a1d46720bc505e66e70db83ab6bb37154a (patch)
treeb4146b3de7eb69abe1d37ddef15ec4eedf017dfb /Makefile.am
parent6d3ee7924016b634ac55abee2c60bd57f417b6c0 (diff)
downloadgnutls-983208a1d46720bc505e66e70db83ab6bb37154a.tar.gz
symbol-check: do not compare against symbols not exported by us
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 57e0c1b879..1ee75f8c94 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -83,7 +83,7 @@ abi-check:
@rm -f $(TMPFILE)
symbol-check:
- @objdump -T $(srcdir)/lib/.libs/libgnutls.so | grep -v ' \*UND\*' | awk '{print $$7 "@" $$6;}' | grep -v GNUTLS_FIPS140 | grep -v GNUTLS_PRIVATE | sort -u >symbols.last.tmp
+ @objdump -T $(srcdir)/lib/.libs/libgnutls.so | grep -v ' \*UND\*' | awk '{print $$7 "@" $$6;}' | grep -v GNUTLS_FIPS140 | grep -v GNUTLS_PRIVATE | grep -v '@\.init' | sort -u >symbols.last.tmp
@diff -u symbols.last symbols.last.tmp >/dev/null 2>&1; if test $$? != 0;then \
diff -u symbols.last symbols.last.tmp | grep -v '\-\-\-' >symbols.diff.tmp 2>&1; \
if grep -e '^-' symbols.diff.tmp;then \