summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2019-06-10 10:34:37 -0400
committerSteve Dickson <steved@redhat.com>2019-06-10 10:34:37 -0400
commit91873f84521a17648927f0db3470583c29adbd0f (patch)
treea52abd8a0c78c03ae5b3b160c7013966799c1136
parent21a2202be3876f0f379a266e4a6c4a1ed0dd54fb (diff)
downloadnfs-utils-91873f84521a17648927f0db3470583c29adbd0f.tar.gz
tests: make check fixesnfs-utils-2-4-1
Turnoff the a couple -W flags since the rpc code is generated badly Add a libmisc.a link Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/nsm_client/Makefile.am2
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 74aa629..a199ce0 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,7 +4,8 @@ check_PROGRAMS = statdb_dump
statdb_dump_SOURCES = statdb_dump.c
statdb_dump_LDADD = ../support/nfs/.libs/libnfs.a \
- ../support/nsm/libnsm.a $(LIBCAP)
+ ../support/nsm/libnsm.a \
+ ../support/misc/libmisc.a $(LIBCAP)
SUBDIRS = nsm_client
diff --git a/tests/nsm_client/Makefile.am b/tests/nsm_client/Makefile.am
index 43db9c2..47fd728 100644
--- a/tests/nsm_client/Makefile.am
+++ b/tests/nsm_client/Makefile.am
@@ -7,6 +7,8 @@ GENFILES_H = nlm_sm_inter.h
GENFILES = $(GENFILES_CLNT) $(GENFILES_SVC) $(GENFILES_XDR) $(GENFILES_H)
+AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-declarations
+
EXTRA_DIST = nlm_sm_inter.x
check_PROGRAMS = nsm_client