Hi!
On Tue, Aug 15, 2017 at 03:35:36PM +0200, Martin Liška wrote:
> Simple fix for the PR where we wrongly combine extra_objs.
>
> Ready to install the patch?
Looks fine to me. This code is also for x86, but you could well
call this obvious and/or trivial :-) (Testing on x86 wouldn't
hurt of course).
Segher
> 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
>