hurd: fix warning
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jan 2018 20:37:29 +0000 (21:37 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jan 2018 20:37:29 +0000 (21:37 +0100)
* sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
-DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.

ChangeLog
sysdeps/mach/hurd/Makefile

index 88f6d93..4e1e4bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,8 @@
        timer_ptr2id to cast struct timer_node * to void *.
        * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
        --disable-libcilkrts to gcc configure.
+       * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
+       -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
 
 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
 
index f0d3373..492ace0 100644 (file)
@@ -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