[oe] [meta-networking][PATCH] ndisc6: Do not use gold linker and disable rpath

Khem Raj raj.khem at gmail.com
Fri Aug 31 06:19:12 UTC 2018


It builds with clang just fine so remove pinning it to gcc-only recipe

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
index cebc1d9cd8..ec4879752a 100644
--- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
+++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
@@ -19,13 +19,10 @@ inherit autotools gettext
 
 EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
 
-LDFLAGS += "-fuse-ld=gold"
-LDFLAGS_remove_riscv64 = "-fuse-ld=gold"
-
-TOOLCHAIN = "gcc"
-
 USE_NLS = "yes"
 
+EXTRA_OECONF += "--disable-rpath"
+
 do_configure_prepend() {
     cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
     ${S}/autogen.sh
-- 
2.18.0




More information about the Openembedded-devel mailing list