Re: [PATCH] cpu_arm: fix build on non-Linux

2020-07-09 Thread Roman Bogorodskiy
Michal Privoznik wrote: > 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

Re: [PATCH] cpu_arm: fix build on non-Linux

2020-07-08 Thread Michal Privoznik
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

[PATCH] cpu_arm: fix build on non-Linux

2020-07-08 Thread Roman Bogorodskiy
- 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.