diff options
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/configure.tgt | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 4dd2cbc..21e7c77 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2016-04-27 Alan Modra <amodra@gmail.com> + + PR target/19985 + * configure.tgt: Don't use var+=. + 2016-04-25 Nick Clifton <nickc@redhat.com> PR target/19985 diff --git a/ld/configure.tgt b/ld/configure.tgt index da89e2b..1f6db42 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 ;; |