mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-11 15:11:26 +00:00
tsocks: Always use ligcc for compiler runtime with clang on x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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}'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user