aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-05 09:50:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-05 18:00:00 +0100
commit713c83fd00ab16250f05b0c3933f0c8178b8a33e (patch)
tree0804129050c644dd49bba7e31763f6c672023648 /meta/recipes-devtools/binutils/binutils.inc
parent7533c000183a2b447cbabd6ce1b8b75de55b63e7 (diff)
downloadopenembedded-core-contrib-713c83fd00ab16250f05b0c3933f0c8178b8a33e.tar.gz
openembedded-core-contrib-713c83fd00ab16250f05b0c3933f0c8178b8a33e.tar.bz2
openembedded-core-contrib-713c83fd00ab16250f05b0c3933f0c8178b8a33e.zip
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/binutils.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index b56fcd4cd0..81ecbb50cc 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 \