SHA256
1
0
forked from pool/llvm14

Accepting request 1004848 from openSUSE:Factory:RISCV

- Use correct LLVM_HOST_TRIPLE for riscv64

OBS-URL: https://build.opensuse.org/request/show/1004848
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=41
This commit is contained in:
Aaron Puchert 2022-09-20 21:37:44 +00:00 committed by Git OBS Bridge
parent e9a416c98a
commit 77b3f7ed26
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 19 18:32:11 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Use correct LLVM_HOST_TRIPLE for riscv64
-------------------------------------------------------------------
Sat Sep 3 15:15:10 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -79,7 +79,12 @@
%else
%define host_runtime gnu
%endif
%ifarch riscv64
# This must match the gcc target exactly
%define host_triple %{host_cpu}-%{_host_vendor}-%{_host_os}
%else
%define host_triple %{host_cpu}-%{_host_vendor}-%{_host_os}-%{host_runtime}
%endif
# By default, build everything.
%global llvm_targets "all"