diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-05 09:50:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-05 18:00:00 +0100 |
commit | 713c83fd00ab16250f05b0c3933f0c8178b8a33e (patch) | |
tree | 0804129050c644dd49bba7e31763f6c672023648 /meta/recipes-devtools/binutils | |
parent | 7533c000183a2b447cbabd6ce1b8b75de55b63e7 (diff) | |
download | openembedded-core-contrib-713c83fd00ab16250f05b0c3933f0c8178b8a33e.tar.gz |
binutils: Fix variable conflict
A recent binutils patch added the LDGOLD variable but its already used
for controlling EXTRA_OECONF options for gold. Separate the two variables
to different names to avoid build warnings and confusion.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index b56fcd4cd01..81ecbb50cc1 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc @@ -38,8 +38,8 @@ FILES_${PN}-dev = " \ # Rather than duplicating multiple entries for these, make one # list and reuse it. -LDGOLD ?= "ld.gold dwp" -LDGOLD_riscv64 = "" +LDGOLD_ALTS ?= "ld.gold dwp" +LDGOLD_ALTS_riscv64 = "" USE_ALTERNATIVES_FOR = " \ addr2line \ @@ -50,7 +50,7 @@ USE_ALTERNATIVES_FOR = " \ gprof \ ld \ ld.bfd \ - ${LDGOLD} \ + ${LDGOLD_ALTS} \ nm \ objcopy \ objdump \ |