Message ID | 20250721040030.641212-4-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,1/7] ostree: Always use libgcc for runtime with clang on x86 | expand |
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}'" -
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)