diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-02-20 16:51:09 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-02-21 18:12:04 -0800 |
| commit | bfd22261ef554575dee9a857e518b7b6c603af2a (patch) | |
| tree | 4096edb85ff061099ddb9f1bc5807b7ecab51104 /meta-oe | |
| parent | 5f62cb59a429ef1fd82d688a6abbbee6a4813d66 (diff) | |
| download | meta-openembedded-bfd22261ef554575dee9a857e518b7b6c603af2a.tar.gz | |
iotop: Disable lto with clang for rv32
clang/rv32 is mixing ABIs because defaults are ilp32d for OE but when LTO
is used it pulls in ilp32 internally so disable lto for now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-extended/iotop/iotop_1.20.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/iotop/iotop_1.20.bb b/meta-oe/recipes-extended/iotop/iotop_1.20.bb index a044c9b248..2900264f79 100644 --- a/meta-oe/recipes-extended/iotop/iotop_1.20.bb +++ b/meta-oe/recipes-extended/iotop/iotop_1.20.bb | |||
| @@ -13,6 +13,7 @@ inherit pkgconfig | |||
| 13 | EXTRA_OEMAKE = "V=1 STRIP=true" | 13 | EXTRA_OEMAKE = "V=1 STRIP=true" |
| 14 | # Fixes llvm-bc70b5.o: can't link soft-float modules with double-float modules | 14 | # Fixes llvm-bc70b5.o: can't link soft-float modules with double-float modules |
| 15 | EXTRA_OEMAKE:append:toolchain-clang:riscv64 = " NO_FLTO=1" | 15 | EXTRA_OEMAKE:append:toolchain-clang:riscv64 = " NO_FLTO=1" |
| 16 | EXTRA_OEMAKE:append:toolchain-clang:riscv32 = " NO_FLTO=1" | ||
| 16 | 17 | ||
| 17 | # Workaround BFD linker crash with clang on arm | 18 | # Workaround BFD linker crash with clang on arm |
| 18 | # revisit when upgrading binutils and see if its fixed | 19 | # revisit when upgrading binutils and see if its fixed |
