From: Peter van Dijk Date: Mon, 8 Oct 2018 19:42:10 +0000 (+0000) Subject: build rec on el7/arm64; remove comment X-Git-Tag: dnsdist-1.3.3~22^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23e7e4b347a2b9bbe3ad5532dc851388e4904dbf;p=thirdparty%2Fpdns.git build rec on el7/arm64; remove comment --- diff --git a/builder-support/specs/pdns-recursor.spec b/builder-support/specs/pdns-recursor.spec index 4c6626cb3c..f52a3a85bf 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}