File webrtc-0005-use-eweos-clang-runtime-layout.patch of Package zed
--- a/build/config/clang/BUILD.gn
+++ b/build/config/clang/BUILD.gn
@@ -199,14 +199,17 @@
assert(false) # Unhandled cpu type
}
} else if (is_linux || is_chromeos) {
+ _dir = "linux"
if (current_cpu == "x64") {
- _dir = "x86_64-unknown-linux-gnu"
+ _suffix = "-x86_64"
} else if (current_cpu == "x86") {
- _dir = "i386-unknown-linux-gnu"
+ _suffix = "-i386"
} else if (current_cpu == "arm") {
- _dir = "armv7-unknown-linux-gnueabihf"
+ _suffix = "-armhf"
} else if (current_cpu == "arm64") {
- _dir = "aarch64-unknown-linux-gnu"
+ _suffix = "-aarch64"
+ } else if (current_cpu == "riscv64") {
+ _suffix = "-riscv64"
} else {
assert(false) # Unhandled cpu type
}