summaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 21:37:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 21:37:29 +0100
commit903d3633ec9e9ffe699611351200bebaf2152bd8 (patch)
tree9177d72a76c7ad588286a86334b4f6e18764f9b9 /sysdeps/mach
parentd4d5b2ddf348bd1e310a5d73da58bae9ec09a41e (diff)
hurd: fix warning
* sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index f0d3373b64..492ace05eb 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -203,4 +203,8 @@ sysdep_headers += net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h \
net/route.h
endif
+ifeq ($(subdir),nis)
+CFLAGS-ypclnt.c += -DUSE_BINDINGDIR=1
+endif
+
endif # in-Makerules