Accepting request 886366 from home:aaronpuchert:llvm-next
- Add support-llvm12.patch to support building with LLVM 12. OBS-URL: https://build.opensuse.org/request/show/886366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=286
This commit is contained in:
@@ -156,6 +156,9 @@ Source209: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.
|
||||
Source1000: README.suse-maint
|
||||
# PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag
|
||||
Patch0: ignore-Wstring-conversion.patch
|
||||
# PATCH-FIX-UPSTREAM: https://github.com/rust-lang/rust/pull/81451, trivially rebased before
|
||||
# https://github.com/rust-lang/rust/pull/82045 and https://github.com/rust-lang/rust/pull/82102.
|
||||
Patch1: support-llvm12.patch
|
||||
BuildRequires: ccache
|
||||
BuildRequires: curl
|
||||
BuildRequires: fdupes
|
||||
@@ -413,6 +416,7 @@ This package includes HTML documentation for Cargo.
|
||||
%setup -q -n rustc-%{version}-src
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# use python3
|
||||
sed -i -e "1s|#!.*|#!%{_bindir}/python3|" x.py
|
||||
|
Reference in New Issue
Block a user