Make ARM build pass on EPEL8

More issues is reported on EPEL8. Still build documentation on it, but
do not require no warnings during the process.
This commit is contained in:
Petr Menšík 2022-09-26 12:45:44 +02:00
parent 41841ff366
commit 1c7ffee3d0
1 changed files with 5 additions and 1 deletions

View File

@ -375,11 +375,15 @@ CPPFLAGS="$CPPFLAGS -DOPENSSL_API_COMPAT=10100"
export CFLAGS CPPFLAGS
export STD_CDEFINES="$CPPFLAGS"
sed -i -e \
's/([bind_VERSION_EXTRA],\s*\([^)]*\))/([bind_VERSION_EXTRA], \1-RH)/' \
configure.ac
%if 0%{?rhel} && 0%{?rhel} < 9
# disable Sphinx warnings as errors, epel8 does not pass cleanly
sed -e 's/-W\s//' -i Makefile.docs
%endif
autoreconf --force --install
mkdir build