Hi Matthew,
it would also help to make setting flags not mandatory.
Changing it to:
%{?set_build_flags}
Would use it whenever the macro is supported and expand it to empty on
legacy systems.
Another possibility would be skipping epel dependency:
%if 0%{?rhel} && 0%{?rhel} <= 7
export CFLAGS="%optflags"
%else
%set_build_flags
%endif
Regards,
Petr
> My guess (which may be wrong) is that something is wrong with the line:-
> %set_build_flags
> in bind.spec.
>
> Any thoughts from others, more knowledgeable that myself, would be
> appreciated.
>
> The same error occurs on both Centos 7 & Centos 6.
>
> Best wishes,
> Matthew
> _______________________________________________
> Please visit
https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> ISC funds the development of this software with paid support subscriptions. Contact us at
https://www.isc.org/contact/ for more information.
>
--
Petr Menšík
Software Engineer
Red Hat,
http://www.redhat.com/
email:
peme...@redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB