[Pkg-ceph-commits] [ceph] 01/03: Build with ggc-min-expand=5 on mips/el
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Sun Jan 8 13:59:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
gaudenz pushed a commit to branch jewel-fix-mips
in repository ceph.
commit 88034ce9c3e51f391a0874d0d1ccb672bbee6364
Author: Gaudenz Steinlin <gaudenz at debian.org>
Date: Sun Jan 8 14:43:40 2017 +0100
Build with ggc-min-expand=5 on mips/el
This works around a compiler bug which leads to virtual memory
exhaustion while compiling the testsuite.
Closes: #849657
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 637eed6..3f3478b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,6 +53,14 @@ endif
# Use system provided libs3
extraopts += --with-system-libs3
+# 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.
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
+ export DEB_CFLAGS_MAINT_APPEND= --param ggc-min-expand=5
+ export DEB_CXXFLAGS_MAINT_APPEND= --param ggc-min-expand=5
+endif
+
%:
dh $@ --with javahelper,python2,autoreconf,systemd --parallel --max-parallel=$(maxparallel)
--
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