aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-09-04 22:15:12 +0200
committerAndreas Oberritter <obi@opendreambox.org>2017-06-26 22:59:19 +0200
commit3513b8236941b9582b1c408c33618661c2e25826 (patch)
tree2f7597dbd5b38297674c5fbd1b8055e94a00ed5a
parentc428f8dd762204e12f7d50e314151a4e75b34da5 (diff)
downloadmeta-openembedded-contrib-3513b8236941b9582b1c408c33618661c2e25826.tar.gz
meta-openembedded-contrib-3513b8236941b9582b1c408c33618661c2e25826.tar.bz2
meta-openembedded-contrib-3513b8236941b9582b1c408c33618661c2e25826.zip
samba: fix build by linking with bfd instead of gold
Use this workaround as long as there is no better (upstream) fix Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> (cherry picked from commit b60c60806e57f69233db582ef88d113867c2ecd1) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
index e39bc6bd90..b11462a0fe 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \
"
DISABLE_STATIC = ""
-LDFLAGS += "-Wl,-z,relro,-z,now"
+LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
do_install_append() {
if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then