enable aarch64-unknown-uefi
This commit is contained in:
parent
9e272bbc6e
commit
c5289e87c3
12
rust.spec
12
rust.spec
@ -40,7 +40,7 @@ ExclusiveArch: %{rust_arches}
|
||||
%endif
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
%global extra_targets aarch64-unknown-none-softfloat
|
||||
%global extra_targets aarch64-unknown-none-softfloat aarch64-unknown-uefi
|
||||
%endif
|
||||
%global all_targets %{?mingw_targets} %{?wasm_targets} %{?extra_targets}
|
||||
%define target_enabled() %{lua:
|
||||
@ -449,6 +449,12 @@ Requires: lld
|
||||
%target_description x86_64-unknown-none embedded
|
||||
%endif
|
||||
|
||||
%if %target_enabled aarch64-unknown-uefi
|
||||
%target_package aarch64-unknown-uefi
|
||||
Requires: lld
|
||||
%target_description aarch64-unknown-uefi embedded
|
||||
%endif
|
||||
|
||||
%if %target_enabled x86_64-unknown-uefi
|
||||
%target_package x86_64-unknown-uefi
|
||||
Requires: lld
|
||||
@ -1073,6 +1079,10 @@ rm -rf "./build/%{rust_triple}/stage2-tools/%{rust_triple}/cit/"
|
||||
%target_files x86_64-unknown-none
|
||||
%endif
|
||||
|
||||
%if %target_enabled aarch64-unknown-uefi
|
||||
%target_files aarch64-unknown-uefi
|
||||
%endif
|
||||
|
||||
%if %target_enabled x86_64-unknown-uefi
|
||||
%target_files x86_64-unknown-uefi
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user