[patch] string cosmetics for SUSV3_LEGACY

Peter S. Mazinger ps.m at gmx.net
Thu Jul 6 07:41:40 PDT 2006


On Thu, 6 Jul 2006, Bernhard Fischer wrote:

> On Thu, Jul 06, 2006 at 03:21:47PM +0200, Peter S. Mazinger wrote:
> >On Thu, 6 Jul 2006, Bernhard Fischer wrote:
> >
> >> Hi,
> >> 
> >> The attached patch makes sure that we do not create empty object files
> >> when SUSV3_LEGACY functions are turned off.
> >
> >We discussed this some time ago and a better/generic solution would be to 
> >scan all the produced objects being empty and omit them from the archives.
> >We have many other empty objects that depend on a specific syscall 
> >being present for example
> 
> Do you mean looking at each object if it contained any symbol and else
> remove it?
> $(NM) $$i | grep -q "^.*$" && echo $$i
> for the $^ used for cmd_ar

nice, Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2



More information about the uClibc mailing list