PATCH: Add x32 dummy sysctl

Roland McGrath roland@hack.frob.com
Tue May 22 21:15:00 GMT 2012


> On Tue, May 22, 2012 at 1:39 PM, Roland McGrath <roland@hack.frob.com> wrote:
> >>  ifeq ($(subdir),misc)
> >> -sysdep_routines += sysctl clone llseek umount umount2 readahead \
> >> +include $(firstword $(wildcard $(sysdirs:=/sysctl.mk)))
> >> +
> >> +sysdep_routines += $(sysctl) clone llseek umount umount2 readahead \
> >
> > This is OK.  But on further reflection, I would just have sysctl.mk do
> > "sysdep_routines +=" and not complicate things more with the sysctl variable.
> >
> 
> I tried it and it doesn't work since all sysctl.mk files are included.

That should not be the case.
	include $(firstword $(wildcard $(sysdirs:=/sysctl.mk)))
picks just the first one that exists (that why firstword is there).



More information about the Libc-alpha mailing list