aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/lvm2.inc
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2022-09-12 08:01:37 +0200
committerKhem Raj <raj.khem@gmail.com>2022-09-11 23:27:08 -0700
commit21928e8aede47d87a27be5a0506d8d26813ce1e3 (patch)
tree6d01803bf7e81054f776db096c7d196269e208d8 /meta-oe/recipes-support/lvm2/lvm2.inc
parent15f5ed38536b6aa7ff239cb7132b3c8b61ebe2ac (diff)
downloadmeta-openembedded-contrib-21928e8aede47d87a27be5a0506d8d26813ce1e3.tar.gz
lvm2: use bfd even with ld-is-gold in DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lvm2/lvm2.inc')
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 34e57ec7a5..277e76f0d2 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -57,3 +57,7 @@ EXTRA_OECONF = "--with-user= \
--with-thin-repair=${sbindir}/thin_repair \
--with-thin-restore=${sbindir}/thin_restore \
"
+
+# gold doesn't like multiple dm_bitset_parse_list definitions in libdm/.exported_symbols.DM_1_02_138 and libdm/.exported_symbols.DM_1_02_129
+# after it was uncommented in the later in 2.03.12 with https://github.com/lvmteam/lvm2/commit/60eb608d66c2056a78e81f27db3da14139d9faab
+LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd", '', d)}"