summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)