From c73200ca2636eba0beb90137b39f2942e5be87a0 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 16 Aug 2017 09:51:55 +0200 Subject: [PATCH] Fix building of cross compiler (PR target/81753). 2017-08-16 Martin Liska PR target/81753 * config.gcc: Respect previously set extra_objs in case of darwin target. From-SVN: r251118 --- gcc/ChangeLog | 6 ++++++ gcc/config.gcc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d86b59f3671..cea00bef1fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-08-16 Martin Liska + + PR target/81753 + * config.gcc: Respect previously set extra_objs in case + of darwin target. + 2017-08-16 Richard Sandiford PR tree-optimization/81835 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 -- 2.30.2