From f5d2d48e1d86aaa0427d1b311d052d59a1c5d258 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Dec 19 2022 16:46:44 +0000 Subject: Work around aarch64 build failures. --- diff --git a/httpd.spec b/httpd.spec index 6908087..b990f77 100644 --- a/httpd.spec +++ b/httpd.spec @@ -338,6 +338,13 @@ autoheader && autoconf || exit 1 # Hard-code path to links to avoid unnecessary builddep export LYNX_PATH=/usr/bin/links +%ifarch aarch64 +# The configure check for epoll_create() is failing. httpd/apr only +# actually uses epoll_create1() so this test could be smarter. Work +# around it for now. +export ac_cv_func_epoll_create=yes +%endif + # Build the daemon ./configure \ --prefix=%{_sysconfdir}/httpd \