uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
diff --git a/webrtc/typedefs.h b/webrtc/typedefs.h
|
||||
index d875490..ce1f3e8 100644
|
||||
--- a/webrtc/typedefs.h
|
||||
+++ b/webrtc/typedefs.h
|
||||
@@ -26,6 +26,13 @@
|
||||
#elif defined(__aarch64__)
|
||||
#define WEBRTC_ARCH_64_BITS
|
||||
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
+#elif defined(__riscv) || defined(__riscv__)
|
||||
+#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||
+#if __riscv_xlen == 64
|
||||
+#define WEBRTC_ARCH_64_BITS
|
||||
+#else
|
||||
+#define WEBRTC_ARCH_32_BITS
|
||||
+#endif
|
||||
#elif defined(_M_IX86) || defined(__i386__)
|
||||
#define WEBRTC_ARCH_X86_FAMILY
|
||||
#define WEBRTC_ARCH_X86
|
||||
Loading…
Add table
Add a link
Reference in a new issue