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: Build broken due to "[PATCH] Add gcc-ar/nm/ranlib wrappers for slim LTO v2"


On Sat, Oct 29, 2011 at 10:09:48AM +0200, Andi Kleen wrote:
> > This broke cross to cris-elf and I guess many other targets
> > with TOT binutils, as follows:
> > 
> > mv -f Tlto-wrapper lto-wrapper
> 
> Oops.  Can you please confirm this patch fixes it?

I committed the patch with ChangeLog as as obvious now, after running
a full test and testing the if path manually.
-Andi

> 
> -Andi
> 
> diff --git a/gcc/gcc-ar.c b/gcc/gcc-ar.c
> index fc7e4a2..1e86d20 100644
> --- a/gcc/gcc-ar.c
> +++ b/gcc/gcc-ar.c
> @@ -29,6 +29,7 @@ along with GCC; see the file COPYING3.  If not see
>  
>  static const char standard_libexec_prefix[] = STANDARD_LIBEXEC_PREFIX;
>  static const char standard_bin_prefix[] = STANDARD_BINDIR_PREFIX;
> +static const char *const target_machine = TARGET_MACHINE;
>  
>  static const char dir_separator[] = { DIR_SEPARATOR, 0 };
>  
> 

-- 
ak@linux.intel.com -- Speaking for myself only.


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