[oe-commits] [meta-openembedded] 04/09: tsocks: Link with libc_nonshared.a
git at git.openembedded.org
git at git.openembedded.org
Thu Oct 4 06:51:23 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit ab43d224790ba1489573167bdafdb4cc9c165203
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Oct 2 08:48:28 2018 -0700
tsocks: Link with libc_nonshared.a
Link step uses -nostdlib which means all defaults from gcc spec file are
not used and it results in errors when using stack protector options
e.g.
in function `send_socksv5_connect':
| /usr/src/debug/tsocks/1.8beta5-r0/tsocks-1.8/tsocks.c:954: undefined reference to `__stack_chk_fail_local'
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
index 7291357..725ba18 100644
--- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
+++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
@@ -19,6 +19,7 @@ SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863
inherit autotools-brokensep
LIBS_append_libc-musl = " -lssp_nonshared"
+LIBS_append_libc-glibc = " -lc_nonshared"
S = "${WORKDIR}/tsocks-1.8"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list