[Patch libgcc build] cater for static archives as 'extra parts'

Paolo Bonzini bonzini@gnu.org
Sat Sep 18 22:48:00 GMT 2010


On 09/18/2010 05:32 PM, IainS wrote:
>
> On 15 Sep 2010, at 16:52, Paolo Bonzini wrote:
>
>> On 09/15/2010 05:51 PM, IainS wrote:
>>> Index: libgcc/Makefile.in
>>> ===================================================================
>>> --- libgcc/Makefile.in (revision 164304)
>>> +++ libgcc/Makefile.in (working copy)
>>> @@ -870,6 +870,9 @@ endif
>>> for file in $$parts; do \
>>> rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \
>>> $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \
>>> + if [ $${file##*.} = "a" ] ; then \
>>> + $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file; \
>>> + fi; \
>>
>> Please use "case", ${file##*.} is a bashism.
>
> Is this OK?

Yes, thanks.

Paolo



More information about the Gcc-patches mailing list