blob: f0355ecd8dd6b9dc71affb1665dd8fd7c7831010 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- source/configure.in.virgin 2005-06-27 07:22:15.000000000 +0200
+++ source/configure.in 2005-06-27 07:23:11.000000000 +0200
@@ -628,7 +628,8 @@
#endif
}
], [LINUX_LFS_SUPPORT=yes], [LINUX_LFS_SUPPORT=no], [LINUX_LFS_SUPPORT=cross])
- CPPFLAGS="$old_CPPFLAGS"
+# Ugly hack for cross compile. Just set the CPPFLAGS and go on.
+ CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $old_CPPFLAGS"
if test x$LINUX_LFS_SUPPORT = xyes ; then
CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
|