]> granicus.if.org Git - pdns/commitdiff
build dnsdist on el7/arm64
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 9 Oct 2018 07:39:01 +0000 (07:39 +0000)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 24 Oct 2018 11:41:44 +0000 (13:41 +0200)
builder-support/specs/dnsdist.spec

index 2b0f50649ae8ecf21bea7488c953e6a31e46e887..cf83fc06fe62b4a77c5d0d26f719498c4fad5fe2 100644 (file)
@@ -27,7 +27,11 @@ BuildRequires: systemd-devel
 BuildRequires: boost-devel
 BuildRequires: gnutls-devel
 BuildRequires: libsodium-devel
+%ifarch aarch64
+BuildRequires: lua-devel
+%else
 BuildRequires: luajit-devel
+%endif
 BuildRequires: net-snmp-devel
 BuildRequires: protobuf-compiler
 BuildRequires: protobuf-devel
@@ -90,7 +94,11 @@ sed -i '/^ExecStart/ s/dnsdist/dnsdist -u dnsdist -g dnsdist/' dnsdist.service.i
   --enable-fstrm \
   --enable-gnutls \
   --with-protobuf \
+%ifarch aarch64
+  --with-lua=lua \
+%else
   --with-lua=luajit \
+%endif
   --enable-libsodium \
   --enable-dnscrypt \
   --enable-systemd --with-systemd=/lib/systemd/system \