From: Samuel Thibault Date: Sat, 27 Jan 2018 20:37:29 +0000 (+0100) Subject: hurd: fix warning X-Git-Tag: glibc-2.27~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=903d3633ec9e9ffe699611351200bebaf2152bd8;p=thirdparty%2Fglibc.git hurd: fix warning * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c. --- diff --git a/ChangeLog b/ChangeLog index 88f6d93c122..4e1e4bf7308 100644 --- 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 diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index f0d3373b647..492ace05eb4 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