Skip to contentSkip to conversation

ndisc6: Do not use gold linker and disable rpath

PATCH New Khem Raj 1 participant 1 message Aug 31, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ndisc6: Do not use gold linker and disable rpath

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

---
 meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2 -5
index cebc1d9cd8..ec4879752a 100644
@@ -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
Signature · 1 line
2.18.0