rust-llvm: fix build with gcc-15

As in meta-clang for clang-native:
f915bbfc71

(From OE-Core rev: 818750db213dc2c0daac4757d078092be6de3fe6)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Martin Jansa
2025-08-22 00:43:03 +02:00
committed by Steve Sakoman
parent 52ac1f3309
commit 765333686d
4 changed files with 89 additions and 2 deletions

View File

@@ -10,8 +10,12 @@ require rust-source.inc
SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
file://0003-llvm-fix-include-benchmarks.patch;striplevel=2 \
file://0004-llvm-Fix-CVE-2024-0151.patch;striplevel=2"
file://0003-llvm-fix-include-benchmarks.patch;striplevel=2 \
file://0004-llvm-Fix-CVE-2024-0151.patch;striplevel=2 \
file://0036-Add-cstdint-to-SmallVector-101761.patch;striplevel=2 \
file://0037-Include-cstdint-in-AMDGPUMCTargetDesc-101766.patch;striplevel=2 \
file://0038-Add-missing-include-to-X86MCTargetDesc.h-123320.patch;striplevel=2 \
"
S = "${RUSTSRC}/src/llvm-project/llvm"