Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-12-17 23:25:05 +0300
committerJanne Grunau <janne-vlc@jannau.net>2018-12-20 22:43:42 +0300
commitb10771e9d6ab408b029b0cb5b22de8fa36e2f512 (patch)
tree5209f212e31acccf2cdc7fe17002d18656498c91 /meson.build
parent65305637d762398c43175baf34348f8c7620f9a1 (diff)
arm: detect NEON on FreeBSD armv6
FreeBSD 11.2 added AT_HWCAP via sysctl() while 12.0 added elf_aux_info() which requires less code to use and is cached by libc. Only support the latter to avoid cruft to be removed after 11.* EOL on 2021-09-30.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 84153aa..220f6d7 100644
--- a/meson.build
+++ b/meson.build
@@ -147,6 +147,9 @@ if (host_machine.cpu_family() == 'aarch64' or
if cc.has_function('getauxval', prefix : '#include <sys/auxv.h>', args : test_args)
cdata.set('HAVE_GETAUXVAL', 1)
endif
+ if cc.has_function('elf_aux_info', prefix : '#include <sys/auxv.h>', args : test_args)
+ cdata.set('HAVE_ELF_AUX_INFO', 1)
+ endif
endif
# Compiler flag tests