aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-11-03 22:05:53 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-11-03 22:05:53 +0100
commit19c215f245faf9a453e7171bddccc690c03f7b72 (patch)
tree27ab0f14b164e44b169977f5a8502e09f81330d2
parenttests: skip static children tests when YAMA ptrace_scope is enabled (diff)
downloadsandbox-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.mk1
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