Skip to contentSkip to conversation

tsock: Make use of LDFLAGS

PATCH New Jason Wessel 1 participant 1 message Nov 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tsock: Make use of LDFLAGS

Fix the QA warning:

WARNING: tsocks-1.8beta5-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/opt/build-intel-x86/tmp/work/core2-64-linux/tsocks/1.8beta5-r0/packages-split/tsocks/usr/lib64/libtsocks.so.1.8' [ldflags]

---
 meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +3 -0
index b3a9620..62d0411 100644
@@ -21,3 +21,6 @@ S = "${WORKDIR}/tsocks-1.8"
 FILES_${PN} = "${libdir}/* ${bindir}/tsocks"
 FILES_${PN}-dev = ""
 INSANE_SKIP_${PN} = "dev-so"
+
+EXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}'"
+
Signature · 1 line
2.10.1