This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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][lto-plugin] Fix make install, PR41569


On Mon, 26 Oct 2009, Richard Guenther wrote:

> 
> It seems because lto-plugin does not honor the default non-maintainer mode
> it re-builds on make install and uses a wrong CC at that point.
> 
> Fixed with the following, tested by a bootstrap and a make install.
> 
> Ok for trunk?

Actually install is not fixed.  But at least the build doesn't re-create
the makefiles for me now.

Richard.

> Thanks,
> Richard.
> 
> 2009-10-26  Richard Guenther  <rguenther@suse.de>
> 
> 	PR lto/41569
> 	* configure.ac: Use AM_MAINTAINER_MODE.
> 	* acinclude.m4: Remove.
> 	* configure: Re-generate.
> 	* Makefile.in: Likewise.
> 	* aclocal.m4: Likewise.
> 
> Index: lto-plugin/configure.ac
> ===================================================================
> --- lto-plugin/configure.ac	(revision 153548)
> +++ lto-plugin/configure.ac	(working copy)
> @@ -2,6 +2,7 @@ AC_PREREQ(2.64)
>  AC_INIT([LTO plugin for ld], 0.1,,[lto-plugin])
>  GCC_TOPLEV_SUBDIRS
>  AM_INIT_AUTOMAKE([foreign])
> +AM_MAINTAINER_MODE
>  AC_PROG_CC
>  AC_ARG_VAR(LIBELFLIBS,[How to link libelf])
>  AC_ARG_VAR(LIBELFINC,[How to find libelf include files])
> 
> 

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex


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