.gear/rules: change specsubst variable for local build
To build locally one need to specify the variable in .git/config. However a git variable name must not contain `_` character. Use @targetarch@ in specsubst to avoid the problem
This commit is contained in:
parent
4b07931525
commit
7c1209626a
@ -1 +1 @@
|
|||||||
specsubst: target_arch
|
specsubst: targetarch
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# %%define target_arch arm
|
# %%define target_arch arm
|
||||||
# %%define target_arch mipsel
|
# %%define target_arch mipsel
|
||||||
# %%define target_arch riscv64
|
# %%define target_arch riscv64
|
||||||
%define target_arch @target_arch@
|
%define target_arch @targetarch@
|
||||||
|
|
||||||
|
|
||||||
%if "%target_arch" == "aarch64"
|
%if "%target_arch" == "aarch64"
|
||||||
|
Loading…
Reference in New Issue
Block a user