commit: 19c215f245faf9a453e7171bddccc690c03f7b72
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 3 21:05:53 2021 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Nov 3 21:05:53 2021 +0000
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=19c215f2
Force sandbox-internal functions to use 64bit file interface
This works around problems when a 64bit qemu is emulating a 32bit
architecture.
LFS has been present since glibc-2.2 and kernel 2.4.
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
libsbutil/local.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/libsbutil/local.mk b/libsbutil/local.mk
index 126c7ce..bede5bf 100644
--- a/libsbutil/local.mk
+++ b/libsbutil/local.mk
@@ -2,6 +2,7 @@ noinst_LTLIBRARIES += %D%/libsbutil.la
%C%_libsbutil_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
+ -D_FILE_OFFSET_BITS=64 \
-I$(top_srcdir)/%D% \
-I$(top_srcdir)/%D%/include
%C%_libsbutil_la_LDFLAGS = -no-undefined