From: Martin Liska Date: Wed, 16 Aug 2017 07:51:55 +0000 (+0200) Subject: Fix building of cross compiler (PR target/81753). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c73200ca2636eba0beb90137b39f2942e5be87a0;p=gcc.git 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 --- 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