Hello Diego,

* Diego Novillo wrote on Fri, Mar 04, 2011 at 10:48:36PM CET:
> ChangeLog.google-integration
> 
>       * Makefile.in (GCC_FOR_TARGET): Remove use of
>       $(SYSROOT_CFLAGS_FOR_TARGET).
>       (site.exp): Add definition of TEST_SYSROOT.

> --- a/gcc/Makefile.in
> +++ b/gcc/Makefile.in
> @@ -371,8 +371,10 @@ UNWIND_H = $(srcdir)/unwind-generic.h
>  # The GCC to use for compiling crt*.o.
>  # Usually the one we just built.
>  # Don't use this as a dependency--use $(GCC_PASSES).
> +GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ 
> -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include 
> -L$(objdir)/../ld
> +
> +# Set if the compiler was configured with --with-build-sysroot.
>  SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
> -GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $(shell $(PWD_COMMAND))/xgcc 
> $(SYSROOT_CFLAGS_FOR_TARGET) -B$(shell $(PWD_COMMAND))/ 
> -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem 
> $(build_tooldir)/sys-include -L$(objdir)/../ld

No comment on the rest, but shouldn't toplevel Makefile.tpl and
configure machinery not also be updated to reflect this
(e.g., so you can run 'make check-gcc' from the toplevel)?

Thanks,
Ralf

Reply via email to