[PATCH] Add support for openSUSE RISC-V triple
Roman Lebedev via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 18 04:22:04 PDT 2019
Missing a test, and if this is a patch and not a commit you want to
submit it via https://llvm.org/docs/Phabricator.html
On Tue, Jun 18, 2019 at 2:20 PM Andreas Schwab via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> ---
> 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 c8520968e45..64f4f9e1e26 100644
> --- a/clang/lib/Driver/ToolChains/Gnu.cpp
> +++ b/clang/lib/Driver/ToolChains/Gnu.cpp
> @@ -2021,7 +2021,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",
> --
> 2.22.0
>
>
> --
> Andreas Schwab, SUSE Labs, schwab at suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list