[PATCH] cpu_arm: fix build on non-Linux

Michal Privoznik mprivozn at redhat.com
Wed Jul 8 17:25:52 UTC 2020


On 7/8/20 4:28 PM, Roman Bogorodskiy wrote:
>   - Add a check for asm/hwcap.h header presence,
>   - Add a check for getauxval() function that is used
>     on Linux, and for elf_aux_info() which is a FreeBSD
>     equivalent.
> 
> This is based on a patch submitted by Mikael Urankar in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247722.
> 
> Signed-off-by: Roman Bogorodskiy <bogorodskiy at gmail.com>
> ---
>   configure.ac      |  3 +++
>   src/cpu/cpu_arm.c | 12 +++++++++++-
>   2 files changed, 14 insertions(+), 1 deletion(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list