[yade] 05/06: Inject additional parameters for weak archs. Thanks to Roland Stigge <stigge at antcom.de>. (Closes: #733152)
Anton Gladky
gladk at moszumanska.debian.org
Mon Jan 13 19:14:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository yade.
commit c078bb4107306c8323202704d9a01294a529c5b6
Author: Anton Gladky <gladk at debian.org>
Date: Mon Jan 13 20:12:39 2014 +0100
Inject additional parameters for weak archs. Thanks to Roland Stigge <stigge at antcom.de>. (Closes: #733152)
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index bc873e7..369f723 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,11 @@ tmpDirMatplotLib = $(CURDIR)/debian/matplotlib
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,-no-keep-memory
+# Theses flags are neccessry for weak archs. See #733152
+ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf hurd-i386 mips mipsel))
+ export DEB_CXXFLAGS_MAINT_APPEND = --param ggc-min-expand=20 --param ggc-min-heapsize=128000
+endif
+
export MPLCONFIGDIR := $(tmpDirMatplotLib)
export HOME := $(tmpDirMatplotLib)
export LD_LIBRARY_PATH := $(tmpInstall)/usr/lib/$(DEB_HOST_MULTIARCH)/yade/py:$(tmpInstall)/usr/lib/$(DEB_HOST_MULTIARCH)/yade:$(tmpInstall)/usr/lib/$(DEB_HOST_MULTIARCH)/yade/py:$(tmpInstall)/usr/lib/$(DEB_HOST_MULTIARCH)/yade/py/gts:$(tmpInstall)/usr/lib/$(DEB_HOST_MULTIARCH)/yade/py/yade:$(tmpInstall)/usr/lib/$(DEB_HOST_MULTIARCH)/yade/py/yade/qt:$(LD_LIBRARY_PATH);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yade.git
More information about the debian-science-commits
mailing list