Disable spinlocks for riscv64

There are no support for riscv64.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2020-04-05 21:59:45 +03:00
parent a29cad1886
commit 3ed8b7e7d7
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Summary: PostgreSQL client library
Name: libpq
Version: %{majorversion}.2
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
License: PostgreSQL
Url: http://www.postgresql.org/
@ -74,6 +74,9 @@ export SYMBOL_VERSION_PREFIX=RHPG_
--with-openssl \
--with-gssapi \
--enable-nls \
%ifarch riscv64
--disable-spinlocks \
%endif
--without-readline \
--datadir=%_datadir/pgsql
@ -130,6 +133,9 @@ find_lang_bins %name-devel.lst pg_config
%changelog
* Sun Apr 05 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 12.2-1.0.riscv64
- Disable spinlocks for riscv64
* Mon Feb 17 2020 Patrik Novotný <panovotn@redhat.com> - 12.2-1
- Rebase to upstream release 12.2