From 1cc48e865b2faa3f8147c15fcec4c24c46b3d63f Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 15 Mar 2013 13:15:42 +0000 Subject: tools: Use AC_SYS_LARGEFILE instead of calling getconf(1) getconf is not cross-compile friendly since it reports the features of the host and not the target. There doesn't appear to be a $triplet-getconf. AC_SYS_LARGEFILE arranges for #defines to appear in config.h however Xen's build system expects these to be part of C{PP}FLAGS. Since I'm not confident that everything in Xen includes config.h I instead arrange for the result of running AC_SYS_LARGERFILE to end up in CFLAGS. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- config/Tools.mk.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/Tools.mk.in b/config/Tools.mk.in index c69c7d2bec..5e2c6d8810 100644 --- a/config/Tools.mk.in +++ b/config/Tools.mk.in @@ -60,3 +60,5 @@ CONFIG_LIBICONV := @libiconv@ CONFIG_GCRYPT := @libgcrypt@ EXTFS_LIBS := @EXTFS_LIBS@ CURSES_LIBS := @CURSES_LIBS@ + +FILE_OFFSET_BITS := @FILE_OFFSET_BITS@ -- cgit v1.2.3