This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


* 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.

Thanks, and sorry,
Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]