summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-17 17:38:23 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-18 08:57:39 +0100
commit3ca35390e7fc054381682d378b029b7de77e1414 (patch)
tree420dbf015799139fcf812ed4e8a36d2a67e789ac /Makefile.am
parentaa0b2e219bd389f0af35b9f356ce274ef973c8e1 (diff)
downloadgnutls-3ca35390e7fc054381682d378b029b7de77e1414.tar.gz
Makefile: improved symbols extraction
That is, do not include non-function names. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
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 7d51256b89..d0119b1e0f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -91,7 +91,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 | grep -v '@\.init' | sort -u >symbols.last.tmp
+ @objdump -T $(builddir)/lib/.libs/libgnutls.so | grep -v ' \*UND\*' | awk '{print $$7 "@" $$6;}' | grep -v GNUTLS_FIPS140 | grep -v GNUTLS_PRIVATE | grep -v '^@' | 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 \