[oe-commits] [meta-openembedded] 22/25: samba: fix build by linking with bfd instead of gold

git at git.openembedded.org git at git.openembedded.org
Tue Sep 6 15:08:41 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 29561374228a20551f1794eb209d8423325f65e9
Author: Andreas Müller <schnitzeltony at googlemail.com>
AuthorDate: Sun Sep 4 22:15:12 2016 +0200

    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 at googlemail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 2d23554..7d7fa02 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list