[Bug go/63539] libgo does not use the newly built objcopy when doing a combined build

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 15 06:13:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63539

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 33718
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33718&action=edit
Patch which I need to submit

I already tested this patch but I need to submit it still.

ChangeLog:
* Makefile.def (flags_to_pass): Pass OBJCOPY_FOR_TARGET also.
* Makefile.tpl (HOST_EXPORTS): Add OBJCOPY_FOR_TARGET.
(BASE_TARGET_EXPORTS): Add OBJCOPY.
(OBJCOPY_FOR_TARGET): New variable.
(EXTRA_TARGET_FLAGS): Add OBJCOPY.
* Makefile.in: Regenerate.
* configure.ac: Check for already installed target objcopy.
Also GCC_TARGET_TOOL on objcopy.
* configure: Regenerate.



More information about the Gcc-bugs mailing list