]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Disable XSK on EL arm64, it is not supported 15275/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 10 Mar 2025 14:20:59 +0000 (15:20 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 10 Mar 2025 15:16:37 +0000 (16:16 +0100)
builder-support/specs/dnsdist.spec

index e03110ebf6aeb28861e19473b2e9a85c7ee8e118..b7181686d7a7ffeca747a122d4eb1c0dc5ade09c 100644 (file)
@@ -91,6 +91,8 @@ export CXXFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURC
 #export RANLIB=gcc-ranlib
 export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/lib64/pkgconfig
 
+# Note that the RPM meson macro "helpfully" sets
+# --auto-features=enabled so our auto-detection is broken
 %meson \
   --sysconfdir=/etc/dnsdist \
   -Dunit-tests=true \
@@ -113,6 +115,9 @@ export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/lib64/pkgconfig
   -Dre2=enabled \
   -Ddns-over-quic=true \
   -Ddns-over-http3=true \
+%ifarch aarch64
+  -Dxsk=disabled \
+%endif
   -Dyaml=enabled
 %meson_build