mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-21 21:26:13 +01:00
Do not build core_handler unless memfd_create is available
Restores build compatibility with glibc < 2.27. Change-Id: I1e58ab5e15d7691ad076769a52260fa01c9cfd06 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2597562 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
83203748ae
commit
86c090b77f
5 changed files with 38 additions and 13 deletions
|
|
@ -72,9 +72,10 @@ AC_ARG_ENABLE(m32,
|
|||
AC_HEADER_STDC
|
||||
AC_SYS_LARGEFILE
|
||||
AX_PTHREAD
|
||||
AC_CHECK_HEADERS([a.out.h sys/random.h])
|
||||
AC_CHECK_FUNCS([arc4random getcontext getrandom])
|
||||
AC_CHECK_HEADERS([a.out.h sys/mman.h sys/random.h])
|
||||
AC_CHECK_FUNCS([arc4random getcontext getrandom memfd_create])
|
||||
AM_CONDITIONAL([HAVE_GETCONTEXT], [test "x$ac_cv_func_getcontext" = xyes])
|
||||
AM_CONDITIONAL([HAVE_MEMFD_CREATE], [test "x$ac_cv_func_memfd_create" = xyes])
|
||||
|
||||
AX_CXX_COMPILE_STDCXX(11, noext, mandatory)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue