[RFC][patch] slight generic size reduction

Bernhard Fischer rep.nop at aon.at
Thu Mar 30 22:48:10 PST 2006


On Thu, Mar 30, 2006 at 04:20:49PM -0500, Rob Landley wrote:
>On Thursday 30 March 2006 6:13 am, Bernhard Fischer wrote:
>> Hi,
>>
>> Do we want that one? It saves 114 bytes "for free"..
>
>What does this actually do?
>
>> -cmd_ar             = $(AR) $(ARFLAGS) $@ $^
>> +cmd_ar             = $(AR) $(ARFLAGS) $@ $(shell ls -r -S $^)

It sorts the .o by size, in ascending order.

Didn't look closely, but to me it sounds like trying to optimize the
layout in via ar would be a more generic approach. The above would be ok
for the time being..


More information about the busybox mailing list