This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix building of cross compiler (PR target/81753).
- From: Martin Liška <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>
- Date: Tue, 15 Aug 2017 15:35:36 +0200
- Subject: [PATCH] Fix building of cross compiler (PR target/81753).
- Authentication-results: sourceware.org; auth=none
Hi.
Simple fix for the PR where we wrongly combine extra_objs.
Ready to install the patch?
Thanks,
Martin
gcc/ChangeLog:
2017-08-15 Martin Liska <mliska@suse.cz>
PR target/81753
* config.gcc: Respect previously set extra_objs in case
of darwin target.
---
gcc/config.gcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 60f3d0ba141..7e024433160 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -653,7 +653,7 @@ case ${target} in
cxx_target_objs="${cxx_target_objs} darwin-c.o"
fortran_target_objs="darwin-f.o"
target_has_targetcm=yes
- extra_objs="darwin.o"
+ extra_objs="${extra_objs} darwin.o"
extra_gcc_objs="darwin-driver.o"
default_use_cxa_atexit=yes
use_gcc_stdint=wrap