libc-bench: Always use libgcc runtime with clang on x86

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-07-18 21:38:15 -07:00
parent 457c117418
commit 36a62ae7a8
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -16,9 +16,10 @@ SRC_URI = "git://git.musl-libc.org/libc-bench;branch=master \
# Upstream repo does not tag
UPSTREAM_CHECK_COMMITS = "1"
# i686-yoe-linux-ld.lld: error: undefined symbol: __addtf3
LDFLAGS:append:libc-glibc:toolchain-clang:x86 = " --rtlib=libgcc --unwindlib=libgcc"
do_install () {
install -d ${D}${bindir}
install -m 0755 ${B}/libc-bench ${D}${bindir}
}