Add support for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
89d11859c4
commit
68fcf8bf5f
11
knot.spec
11
knot.spec
@ -8,7 +8,7 @@
|
|||||||
Summary: High-performance authoritative DNS server
|
Summary: High-performance authoritative DNS server
|
||||||
Name: knot
|
Name: knot
|
||||||
Version: %{VERSION}
|
Version: %{VERSION}
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: https://www.knot-dns.cz
|
URL: https://www.knot-dns.cz
|
||||||
@ -111,6 +111,12 @@ gpg2 --verify %{SOURCE1} %{SOURCE0}
|
|||||||
# disable debug code (causes unused warnings)
|
# disable debug code (causes unused warnings)
|
||||||
CFLAGS="%{optflags} -DNDEBUG -Wno-unused"
|
CFLAGS="%{optflags} -DNDEBUG -Wno-unused"
|
||||||
|
|
||||||
|
# On RISC-V (riscv64) GCC doesn't inline atomic calls
|
||||||
|
# (should be fixed in future)
|
||||||
|
%ifarch riscv64
|
||||||
|
export LDFLAGS="${LDFLAGS} -latomic %{__global_ldflags}"
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch armv7hl i686
|
%ifarch armv7hl i686
|
||||||
# 32-bit architectures sometimes do not have sufficient amount of
|
# 32-bit architectures sometimes do not have sufficient amount of
|
||||||
# contiguous address space to handle default values
|
# contiguous address space to handle default values
|
||||||
@ -254,6 +260,9 @@ systemd-tmpfiles --create %{_tmpfilesdir}/knot.conf &>/dev/null || :
|
|||||||
%{_pkgdocdir}/html
|
%{_pkgdocdir}/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 24 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.7.4-1.0.riscv64
|
||||||
|
- Add support for RISC-V (riscv64)
|
||||||
|
|
||||||
* Tue Nov 13 2018 Tomas Krizek <tomas.krizek@nic.cz> - 2.7.4-1
|
* Tue Nov 13 2018 Tomas Krizek <tomas.krizek@nic.cz> - 2.7.4-1
|
||||||
Knot DNS 2.7.4 (2018-11-13)
|
Knot DNS 2.7.4 (2018-11-13)
|
||||||
===========================
|
===========================
|
||||||
|
Loading…
Reference in New Issue
Block a user