2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 22:19:28 +00:00

build: make sure _GNU_SOURCE is set

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2021-09-03 17:57:39 +02:00
parent 1d480c1b3e
commit 94bdf89bc4

View File

@@ -44,6 +44,7 @@ AC_CANONICAL_HOST
AM_PROG_CC_C_O AM_PROG_CC_C_O
AC_USE_SYSTEM_EXTENSIONS AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
AC_GNU_SOURCE
# Test if we have a new enough compiler. # Test if we have a new enough compiler.
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[