Use specsubst to set target_arch

This commit is contained in:
Alexey Sheplyakov 2021-12-01 15:36:11 +04:00
parent edbc53246e
commit a08867de40
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
specsubst: target_arch

View File

@ -1,8 +1,9 @@
# %%define target_arch aarch64
# %%define target_arch arm
# %%define target_arch mipsel
# %%define target_arch riscv64
%define target_arch aarch64
%define target_arch @target_arch@
%if "%target_arch" == "aarch64"