PATCH: PR binutils/12280: Makefiles don't support LTO

H.J. Lu hjl.tools@gmail.com
Thu Dec 2 19:24:00 GMT 2010


On Thu, Dec 2, 2010 at 11:17 AM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> * H.J. Lu wrote on Thu, Dec 02, 2010 at 08:07:37PM CET:
>> Here is a new patch.  OK for trunk?
>
>> bfd/
>>
>> 2010-12-02  H.J. Lu  <hongjiu.lu@intel.com>
>>
>>       PR binutils/12280
>>       * Makefile.am (@gnu_make@LIBTOOL): New.
>
>> --- a/bfd/Makefile.am
>> +++ b/bfd/Makefile.am
>> @@ -681,6 +681,7 @@ BFD_BACKENDS = @bfd_backends@
>>  BFD_MACHINES = @bfd_machines@
>>  TDEFAULTS = @tdefaults@
>>  HAVEVECS = @havevecs@
>> +@gnu_make@LIBTOOL := +$(LIBTOOL)
>
> This will break 'make install', because in the generated install rules
> such as install-bfdlibLTLIBRARIES, $(LIBTOOL) does not necessarily come
> first in a recipe command.
>
> I can write a patch for this if you like, but not before Sunday.
>

I will wait for your patch.

Thanks.

-- 
H.J.



More information about the Binutils mailing list