ostree: Always use libgcc for runtime with clang on x86

compiler-rt does not have 128-bit int support for 32bit x86

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-07-18 21:28:24 -07:00
parent ac6f7c3665
commit b8bdee746c
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -118,6 +118,9 @@ SYSROOT_DIR = "${STAGING_DIR_TARGET}"
SYSROOT_DIR:class-native = "${STAGING_DIR_NATIVE}"
do_configure[vardeps] += "SYSROOT_DIR"
# i686-yoe-linux-ld.lld: error: undefined symbol: __unordtf2
LDFLAGS:append:libc-glibc:toolchain-clang:x86 = " --rtlib=libgcc --unwindlib=libgcc"
do_configure:prepend() {
# this reflects what autogen.sh does, but the OE wrappers for autoreconf
# allow it to work without the other gyrations which exist there