[syslinux] lua: Modernize the Makefile

H. Peter Anvin hpa at zytor.com
Tue Jul 13 10:17:38 PDT 2010


On 07/12/2010 11:50 PM, Jim Cromie wrote:
> 
> It appears your ar options are the reason why you had to delete
> the archive
> 
>        q   Quick append; Historically, add the files member... to the
> end of archive, without checking
>            for replacement.
> 
>   r   Insert the files member... into archive (with replacement). This
> operation differs from q in
>            that any previously existing members are deleted if their
> names match those being added.
> 
> also
> Running ar s on an archive is equivalent to running ranlib on it.
> 
> I dunno if this is a gnu extension, ranlib should work anyway.
> 

s is a GNU extension, and r is *way* slower than q on a lot of systems
-- plus it can leave unwanted objects in the file.  Removing it and
starting from scratch is the clean thing to do.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list