1 Star 0 Fork 0

etux/qt6-qtwebengine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
riscv-angle.patch 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
Zhengyu He 提交于 2023-08-04 22:19 . Add support for riscv64
Index: chromium/third_party/angle/gni/angle.gni
===================================================================
--- chromium/third_party/angle/gni/angle.gni
+++ chromium/third_party/angle/gni/angle.gni
@@ -97,7 +97,8 @@ declare_args() {
if (current_cpu == "arm64" || current_cpu == "x64" ||
current_cpu == "mips64el" || current_cpu == "s390x" ||
- current_cpu == "ppc64" || current_cpu == "loong64") {
+ current_cpu == "ppc64" || current_cpu == "loong64" ||
+ current_cpu == "riscv64") {
angle_64bit_current_cpu = true
} else if (current_cpu == "arm" || current_cpu == "x86" ||
current_cpu == "mipsel" || current_cpu == "s390" ||
Index: chromium/third_party/angle/src/common/platform.h
===================================================================
--- chromium/third_party/angle/src/common/platform.h
+++ chromium/third_party/angle/src/common/platform.h
@@ -102,7 +102,7 @@
#endif
// Mips and arm devices need to include stddef for size_t.
-#if defined(__mips__) || defined(__arm__) || defined(__aarch64__)
+#if defined(__mips__) || defined(__arm__) || defined(__aarch64__) || defined(__riscv)
# include <stddef.h>
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/etux/qt6-qtwebengine.git
[email protected]:etux/qt6-qtwebengine.git
etux
qt6-qtwebengine
qt6-qtwebengine
f38-rv64

搜索帮助