summaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2015-01-03 14:54:45 -0800
committerAndrew Pinski <apinski@cavium.com>2015-01-03 14:54:45 -0800
commit6b91c5417cb082f701fa9fca6d67e3ffb55ff73a (patch)
tree8d6e664423b1c40ff178dc6af6a9500dcd45ec71 /Makefile.def
parente1e061e77d517f1fcc6678667903b3d84c399323 (diff)
downloadbinutils-gdb-6b91c5417cb082f701fa9fca6d67e3ffb55ff73a.tar.gz
[GCC bug #63539]: libgo does not use the newly built objcopy when doing a combined build
2015-01-03 Andrew Pinski <apinski@cavium.com> * 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.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index ec2b0f27810..7b739ffe345 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -271,6 +271,7 @@ flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
flags_to_pass = { flag= NM_FOR_TARGET ; };
flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; };
+flags_to_pass = { flag= OBJCOPY_FOR_TARGET ; };
flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
flags_to_pass = { flag= READELF_FOR_TARGET ; };
flags_to_pass = { flag= STRIP_FOR_TARGET ; };