From 23e7e4b347a2b9bbe3ad5532dc851388e4904dbf Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 8 Oct 2018 19:42:10 +0000 Subject: [PATCH] build rec on el7/arm64; remove comment --- builder-support/specs/pdns-recursor.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/builder-support/specs/pdns-recursor.spec b/builder-support/specs/pdns-recursor.spec index 4c6626cb3..f52a3a85b 100644 --- a/builder-support/specs/pdns-recursor.spec +++ b/builder-support/specs/pdns-recursor.spec @@ -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} -- 2.40.0