36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
|
From fc7a64bc5aa2ab9b0a9475692c6f392681525b93 Mon Sep 17 00:00:00 2001
|
||
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
||
|
Date: Mon, 26 Jan 2015 09:35:44 +0100
|
||
|
Subject: [PATCH 218/506] configure.ac: Always add -D_FILE_OFFSET_BITS=64.
|
||
|
|
||
|
---
|
||
|
configure.ac | 5 ++++-
|
||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/configure.ac b/configure.ac
|
||
|
index b734dd0..a3bca06 100644
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -354,6 +354,9 @@ if test x"$target_cpu-$platform" = xsparc64-emu ; then
|
||
|
HOST_CFLAGS="$HOST_CFLAGS -m64"
|
||
|
fi
|
||
|
|
||
|
+CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
|
||
|
+HOST_CPPFLAGS="$HOST_CPPFLAGS -D_FILE_OFFSET_BITS=64"
|
||
|
+
|
||
|
AC_C_BIGENDIAN
|
||
|
AC_CHECK_SIZEOF(void *)
|
||
|
AC_CHECK_SIZEOF(long)
|
||
|
@@ -1477,7 +1480,7 @@ fi
|
||
|
if test x"$grub_mount_excuse" = x ; then
|
||
|
# Check for fuse headers.
|
||
|
SAVED_CPPFLAGS="$CPPFLAGS"
|
||
|
- CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26"
|
||
|
+ CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26"
|
||
|
AC_CHECK_HEADERS([fuse/fuse.h], [],
|
||
|
[grub_mount_excuse=["need FUSE headers"]])
|
||
|
CPPFLAGS="$SAVED_CPPFLAGS"
|
||
|
--
|
||
|
2.4.3
|
||
|
|