diff options
author | 2021-11-03 22:05:53 +0100 | |
---|---|---|
committer | 2021-11-03 22:05:53 +0100 | |
commit | 19c215f245faf9a453e7171bddccc690c03f7b72 (patch) | |
tree | 27ab0f14b164e44b169977f5a8502e09f81330d2 | |
parent | tests: skip static children tests when YAMA ptrace_scope is enabled (diff) | |
download | sandbox-19c215f245faf9a453e7171bddccc690c03f7b72.tar.gz sandbox-19c215f245faf9a453e7171bddccc690c03f7b72.tar.bz2 sandbox-19c215f245faf9a453e7171bddccc690c03f7b72.zip |
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@gentoo.org>
-rw-r--r-- | libsbutil/local.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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 |