mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:52:39 +02:00
With glibc 2.27 memfd_create() is behind a _GNU_SOURCE guard, so use AC_USE_SYSTEM_EXTENSIONS to define it. (From OE-Core rev: 88b3d730021107985ea749c92e52a323690f87dc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
477 B
Diff
18 lines
477 B
Diff
With glibc 2.27 memfd_create is behind a _GNU_SOURCE guard, so call
|
|
AC_USE_SYSTEM_EXTENSIONS to get that defined.
|
|
|
|
Upstream-Status: Submitted
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 0c98875..ebf4dee 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -29,4 +29,6 @@ AC_CONFIG_SRCDIR([Makefile.am])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
+AC_USE_SYSTEM_EXTENSIONS
|
|
+
|
|
# Initialize Automake
|
|
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|