1 Star 0 Fork 53

technology208/firefox

forked from src-openEuler/firefox 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
add-loongarch64-support-for-libwebrtc.patch 863 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangwenlong01 提交于 2024-05-29 11:52 . fix build error for loongarch64
From 744dac8eb17bba89242b74181c28523974e7e88c Mon Sep 17 00:00:00 2001
From: Wenlong Zhang <[email protected]>
Date: Thu, 14 Dec 2023 10:47:13 +0000
Subject: [PATCH] add loongarch64 support for libwebrtc
---
third_party/libwebrtc/build/build_config.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/third_party/libwebrtc/build/build_config.h b/third_party/libwebrtc/build/build_config.h
index c39ae9da50..4c44dbae12 100644
--- a/third_party/libwebrtc/build/build_config.h
+++ b/third_party/libwebrtc/build/build_config.h
@@ -201,6 +201,10 @@
#define ARCH_CPU_RISCV64 1
#define ARCH_CPU_64_BITS 1
#define ARCH_CPU_LITTLE_ENDIAN 1
+#elif defined(__loongarch64)
+#define ARCH_CPU_LOONGARCH64 1
+#define ARCH_CPU_64_BITS 1
+#define ARCH_CPU_LITTLE_ENDIAN 1
#elif defined(__sparc__)
#if defined(__LP64__)
#define ARCH_CPU_SPARC64 1
--
2.41.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/technology208/firefox.git
[email protected]:technology208/firefox.git
technology208
firefox
firefox
master

搜索帮助