svn commit: trunk/uClibc/libc/stdlib

Mike Frysinger vapier at gentoo.org
Thu Feb 16 03:46:06 UTC 2006


On Tuesday 14 February 2006 06:08, Peter S. Mazinger wrote:
> On Mon, 13 Feb 2006, Mike Frysinger wrote:
> > On Monday 13 February 2006 02:42, psm at uclibc.org wrote:
> > > Author: psm
> > > Date: 2006-02-12 23:42:06 -0800 (Sun, 12 Feb 2006)
> > > New Revision: 13927
> > >
> > > Log:
> > > Don't compile arc4random if option not set
> > >
> > > Modified:
> > >    trunk/uClibc/libc/stdlib/Makefile.in
> > >    trunk/uClibc/libc/stdlib/arc4random.c
> >
> > how is this any different from tracking the define in the file itself ? 
> > imo, keeping all the stuff in the one .c file helps prevents bitrot a lot
> > more than spreading stuff out between the source code and the build files
>
> why should we build an empty object and add it to libc.a?

as i said, it's a trade off ... and imo, preventing bitrot by keeping all the 
config options in one .c file rather than blending the build/source is more 
important

btw, arc4random.o isnt the only empty .o file ... we have plenty of others 
from the linux subdir for example
-mike



More information about the uClibc mailing list