[Pkg-ceph-commits] [ceph] 01/01: Set _FILE_OFFSET_BITS=64 via DEB_CPPFLAGS_MAINT_APPEND
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Mon Jan 9 10:23:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
gaudenz pushed a commit to branch jewel-fix-32bit-xfs
in repository ceph.
commit f4675da14d1b38f907079e522d9da7a0e23037fb
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date: Mon Jan 9 09:39:01 2017 +0100
Set _FILE_OFFSET_BITS=64 via DEB_CPPFLAGS_MAINT_APPEND
This works around a build system weirdness where configure fails because
this is not set but it would have been set for compiling the actual code
by a automake variable.
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index 3f3478b..42798c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,6 +53,11 @@ endif
# Use system provided libs3
extraopts += --with-system-libs3
+# Set _FILE_OFFSET_BITS=64 globally. While this is set by the build system
+# through an automake variable, configure does not know about this and thus
+# fails when testing xfs.h on 32bit systems.
+export DEB_CPPFLAGS_MAINT_APPEND=-D_FILE_OFFSET_BITS=64
+
# Build fix for mips/mipsel
# This works around a compiler bug which leads to virtual memory exhaustion while compiling
# the testsuite. See Debian bug #849657.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git
More information about the Pkg-ceph-commits
mailing list