We need to build dump_syms into separate vendored sources - to avoid collision with cbindgen
This commit is contained in:
parent
cb96cce64f
commit
8bc6287eb9
@ -40,7 +40,7 @@ ExcludeArch: i686
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
|
||||||
%global enable_mozilla_crashreporter 0
|
%global enable_mozilla_crashreporter 0
|
||||||
%ifarch x86_64 %{ix86}
|
%ifarch x86_64 %{ix86}
|
||||||
%global enable_mozilla_crashreporter 0
|
%global enable_mozilla_crashreporter 1
|
||||||
%endif
|
%endif
|
||||||
%if %{build_with_asan}
|
%if %{build_with_asan}
|
||||||
%global enable_mozilla_crashreporter 0
|
%global enable_mozilla_crashreporter 0
|
||||||
@ -711,8 +711,8 @@ export CBINDGEN=/usr/bin/cbindgen
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{enable_mozilla_crashreporter}
|
%if %{enable_mozilla_crashreporter}
|
||||||
mkdir -p my_rust_vendor
|
mkdir -p my_rust_vendor_dump_syms
|
||||||
cd my_rust_vendor
|
cd my_rust_vendor_dump_syms
|
||||||
tar xf %{SOURCE3}
|
tar xf %{SOURCE3}
|
||||||
mkdir -p .cargo
|
mkdir -p .cargo
|
||||||
cat > .cargo/config <<EOL
|
cat > .cargo/config <<EOL
|
||||||
|
Loading…
Reference in New Issue
Block a user