rust-llvm: Fix build with gcc11

Backport a patch from upstream llvm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2021-03-02 11:07:11 -08:00
parent 3f3aa9a6bb
commit 013b210033
3 changed files with 32 additions and 4 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
SUMMARY = "LLVM compiler framework (packaged with rust)"
LICENSE ?= "Apache-2.0-with-LLVM-exception"
SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch"
SRC_URI += "file://0001-nfc-Fix-missing-include.patch;striplevel=2 \
file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
"
S = "${RUSTSRC}/src/llvm-project/llvm"