134 Star 2 Fork 57

src-openEuler/clang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0006-clang-LoongArch-Add-loongarch64-to-os-triple.patch 1021 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ami-zhang 提交于 2024-03-14 10:49 . Add loongarch64 to os-triple patch
From 5f03c1fa84487fa7c7c5db1dd461efec67e9c323 Mon Sep 17 00:00:00 2001
From: zhanglimin <zhanglimin@loongson.cn>
Date: Tue, 12 Mar 2024 17:38:39 +0800
Subject: [PATCH] [clang][LoongArch] Add loongarch64 to os-triple
---
clang/lib/Driver/ToolChains/Gnu.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
index 40038dce47d8..e9cba05e8680 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -2341,7 +2341,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
static const char *const LoongArch64LibDirs[] = {"/lib64", "/lib"};
static const char *const LoongArch64Triples[] = {
- "loongarch64-linux-gnu", "loongarch64-unknown-linux-gnu"};
+ "loongarch64-linux-gnu", "loongarch64-unknown-linux-gnu",
+ "loongarch64-openEuler-linux"};
static const char *const M68kLibDirs[] = {"/lib"};
static const char *const M68kTriples[] = {
--
2.20.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/clang.git
git@gitee.com:src-openeuler/clang.git
src-openeuler
clang
clang
master

搜索帮助