From 13b8c3356bc76abc3624ea9348cc8e834594dfe0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 27 Apr 2016 16:51:15 +0930 Subject: [PATCH] Fix powerpc64 ld testsuite fail PR target/19985 * configure.tgt: Don't use var+=. --- ld/ChangeLog | 5 +++++ ld/configure.tgt | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4dd2cbc1f67..21e7c77cc47 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2016-04-27 Alan Modra + + PR target/19985 + * configure.tgt: Don't use var+=. + 2016-04-25 Nick Clifton PR target/19985 diff --git a/ld/configure.tgt b/ld/configure.tgt index da89e2b95ec..1f6db426a73 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -626,9 +626,9 @@ powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ # PR 19985: Include big endian emulations. for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath do - eval ${z}+=\" `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" + eval ${z}=\"\$${z} `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" done - eval targ_extra_emuls+=\" \$targ_emul\" + targ_extra_emuls="$targ_extra_emuls $targ_emul" eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\" esac ;; powerpc-*-nto*) targ_emul=elf32ppcnto ;; -- 2.30.2