gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: [PATCH][lto-plugin] Fix make install, PR41569

Subject: Re: [PATCH][lto-plugin] Fix make install, PR41569
From: Richard Guenther
Date: Mon, 26 Oct 2009 15:42:03 +0100 CET
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@xxxxxxx>
> 
>       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@xxxxxxx>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex

<Prev in Thread] Current Thread [Next in Thread>