]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
build rec on el7/arm64; remove comment
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 8 Oct 2018 19:42:10 +0000 (19:42 +0000)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 24 Oct 2018 11:41:44 +0000 (13:41 +0200)
builder-support/specs/pdns-recursor.spec

index 4c6626cb3c3bba4f5eb4cbae63b6e54ed482cf37..f52a3a85bf968333ad64612ffbdbe3e6ea3a3e9b 100644 (file)
@@ -16,13 +16,15 @@ BuildRequires: boost148-devel
 BuildRequires: lua-devel
 %else
 BuildRequires: boost-devel
+%ifarch aarch64
+BuildRequires: lua-devel
+%else
 BuildRequires: luajit-devel
+%endif
 BuildRequires: systemd
 BuildRequires: systemd-devel
 %endif
 
-# Note: The ifarch for luajit is removed becuae of EL6 not having luajit
-
 %ifarch ppc64 ppc64le
 BuildRequires: libatomic
 %endif
@@ -67,8 +69,12 @@ package if you need a dns cache for your network.
     --with-boost=/usr/include/boost148 LIBRARY_PATH=/usr/lib64/boost148
 
 make %{?_smp_mflags} LIBRARY_PATH=/usr/lib64/boost148
+%else
+%ifarch aarch64
+    --with-lua=lua \
 %else
     --with-lua=luajit \
+%endif
     --enable-systemd --with-systemd=%{_unitdir}
 
 make %{?_smp_mflags}