https://github.com/andreas-schwab created https://github.com/llvm/llvm-project/pull/74513
Fixes: 72256 >From b5bc870a7609629672f5d7a0758941f61c25115d Mon Sep 17 00:00:00 2001 From: Andreas Schwab <sch...@suse.de> Date: Mon, 4 Dec 2023 15:47:24 +0100 Subject: [PATCH] [Driver] Add riscv64-suse-linux triple Fixes: 72256 --- 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 b875991844fff..00269e2d52e1c 100644 --- a/clang/lib/Driver/ToolChains/Gnu.cpp +++ b/clang/lib/Driver/ToolChains/Gnu.cpp @@ -2423,7 +2423,8 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes( static const char *const RISCV64LibDirs[] = {"/lib64", "/lib"}; static const char *const RISCV64Triples[] = {"riscv64-unknown-linux-gnu", "riscv64-linux-gnu", - "riscv64-unknown-elf"}; + "riscv64-unknown-elf", + "riscv64-suse-linux"}; static const char *const SPARCv8LibDirs[] = {"/lib32", "/lib"}; static const char *const SPARCv8Triples[] = {"sparc-linux-gnu", _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits