diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-07-18 21:28:24 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-20 21:21:31 -0700 |
commit | b8bdee746c4724282d3717b051159abd235ee420 (patch) | |
tree | a03943377598af2b6f2f627dc28980016501d919 | |
parent | ac6f7c36654186d6a8f5e981467c3a4b7d0684ff (diff) | |
download | meta-openembedded-b8bdee746c4724282d3717b051159abd235ee420.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-extended/ostree/ostree_2024.10.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/ostree/ostree_2024.10.bb b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb index c33624987a..8d3b1cd32e 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2024.10.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb | |||
@@ -118,6 +118,9 @@ SYSROOT_DIR = "${STAGING_DIR_TARGET}" | |||
118 | SYSROOT_DIR:class-native = "${STAGING_DIR_NATIVE}" | 118 | SYSROOT_DIR:class-native = "${STAGING_DIR_NATIVE}" |
119 | do_configure[vardeps] += "SYSROOT_DIR" | 119 | do_configure[vardeps] += "SYSROOT_DIR" |
120 | 120 | ||
121 | # i686-yoe-linux-ld.lld: error: undefined symbol: __unordtf2 | ||
122 | LDFLAGS:append:libc-glibc:toolchain-clang:x86 = " --rtlib=libgcc --unwindlib=libgcc" | ||
123 | |||
121 | do_configure:prepend() { | 124 | do_configure:prepend() { |
122 | # this reflects what autogen.sh does, but the OE wrappers for autoreconf | 125 | # this reflects what autogen.sh does, but the OE wrappers for autoreconf |
123 | # allow it to work without the other gyrations which exist there | 126 | # allow it to work without the other gyrations which exist there |