mirror of
https://abf.rosa.ru/djam/consul.git
synced 2025-02-23 16:32:49 +00:00
fix i586 build
This commit is contained in:
parent
52e20bdf3f
commit
864ffd2419
1 changed files with 7 additions and 1 deletions
|
@ -48,7 +48,13 @@ A commercial version called Consul Enterprise is also available.
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
%make linux
|
||||
%ifarch x86_64 amd64
|
||||
arch="amd64"
|
||||
%else
|
||||
arch="386"
|
||||
%endif
|
||||
|
||||
build-support/scripts/build-local.sh -o linux -a $arch
|
||||
|
||||
%install
|
||||
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
|
Loading…
Add table
Reference in a new issue