From: Peter van Dijk Date: Tue, 10 Jun 2025 11:22:02 +0000 (+0200) Subject: recursor.spec: explicitly check for el8 and amazon2023 X-Git-Tag: dnsdist-2.0.0-beta1~20^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f77cd670bcd46009dd07ecd08eaaeb6d1c11e6f4;p=thirdparty%2Fpdns.git recursor.spec: explicitly check for el8 and amazon2023 --- diff --git a/builder-support/specs/pdns-recursor.spec b/builder-support/specs/pdns-recursor.spec index fafab277a9..86ca0bbfd6 100644 --- a/builder-support/specs/pdns-recursor.spec +++ b/builder-support/specs/pdns-recursor.spec @@ -14,7 +14,7 @@ BuildRequires: clang BuildRequires: lld BuildRequires: ninja-build -%if 0%{?rhel} < 9 +%if 0%{?rhel} == 8 BuildRequires: boost1.78-devel %else BuildRequires: boost-devel @@ -30,7 +30,7 @@ BuildRequires: systemd BuildRequires: systemd-devel %ifarch aarch64 -%if 0%{?rhel} < 9 +%if 0%{?rhel} == 8 || 0%{?amzn2023} BuildRequires: lua-devel %define lua_implementation lua %else @@ -64,7 +64,7 @@ package if you need a dns cache for your network. %endif %build -%if 0%{?rhel} < 9 +%if 0%{?rhel} == 8 export BOOST_INCLUDEDIR=/usr/include/boost1.78 export BOOST_LIBRARYDIR=/usr/lib64/boost1.78 %endif @@ -74,7 +74,7 @@ export CXX=clang++ # build-id SHA1 prevents an issue with the debug symbols ("export: `-Wl,--build-id=sha1': not a valid identifier") export LDFLAGS="-fuse-ld=lld -Wl,--build-id=sha1" -%if 0%{?rhel} < 9 +%if 0%{?rhel} == 8 || 0%{?amzn2023} # starting with EL-9 we get these hardening settings for free by just setting the right toolchain (see above) %ifarch aarch64 %define cf_protection %{nil}