aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/Makefile
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2017-03-13 17:26:43 +0100
committerThorsten Kukuk <kukuk@thkukuk.de>2017-03-13 17:26:43 +0100
commitc38120459219ecb5827c42e793cb3921be089f2f (patch)
treebe79ee0a47f4cc2ac731da63a4ebbc3fa0ee1d9e /sunrpc/Makefile
parentd40dbe722f004f999b589de776f7e57e564dda01 (diff)
downloadglibc-c38120459219ecb5827c42e793cb3921be089f2f.tar
glibc-c38120459219ecb5827c42e793cb3921be089f2f.tar.gz
glibc-c38120459219ecb5827c42e793cb3921be089f2f.tar.bz2
glibc-c38120459219ecb5827c42e793cb3921be089f2f.zip
The rpcgen tests should not run if we don't build rpcgen.
* sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
Diffstat (limited to 'sunrpc/Makefile')
-rw-r--r--sunrpc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 1cdaec714d..a5177fffdc 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -104,9 +104,11 @@ tests += tst-svc_register tst-udp-garbage
endif
ifeq ($(run-built-tests),yes)
+ifeq ($(link-obsolete-rpc),yes)
rpcgen-tests := $(objpfx)bug20790.out
tests-special += $(rpcgen-tests)
endif
+endif
ifeq ($(link-obsolete-rpc),yes)
headers += $(rpcsvc:%.x=rpcsvc/%.h)