From 457c11741886e3c56cdac9cda996f20ed2dd1ae4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 18 Jul 2025 21:35:36 -0700 Subject: tsocks: Always use ligcc for compiler runtime with clang on x86 Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb index 2cbb025049..af0823829d 100644 --- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb @@ -21,6 +21,9 @@ inherit autotools-brokensep LIBS:append:libc-musl = " -lssp_nonshared" LIBS:append:libc-glibc = " -lc_nonshared" +# i686-yoe-linux-ld.lld: error: undefined symbol: __unordtf2 +LDFLAGS:append:libc-glibc:toolchain-clang:x86 = " --rtlib=libgcc --unwindlib=libgcc" + S = "${UNPACKDIR}/tsocks-1.8" FILES:${PN} = "${libdir}/* ${bindir}/tsocks" @@ -28,4 +31,3 @@ FILES:${PN}-dev = "" INSANE_SKIP:${PN} = "dev-so" EXTRA_OEMAKE = "SHCC='${CC} -fPIC ${LDFLAGS}' LIBS='${LIBS}'" - -- cgit v1.2.3-54-g00ecf