[DHG_packages] 01/01: shellcheck: "fix" ftbfs on mips{,el}

Helmut Grohne helmutg at moszumanska.debian.org
Wed Oct 19 08:16:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

helmutg pushed a commit to branch master
in repository DHG_packages.

commit a17fcac68c4f8a4f363af072a876f7058ec9437c
Author: Helmut Grohne <helmut at subdivi.de>
Date:   Mon Aug 15 19:31:20 2016 +0200

    shellcheck: "fix" ftbfs on mips{,el}
---
 p/shellcheck/debian/changelog | 6 ++++++
 p/shellcheck/debian/rules     | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/p/shellcheck/debian/changelog b/p/shellcheck/debian/changelog
index 9aa4033..434b024 100644
--- a/p/shellcheck/debian/changelog
+++ b/p/shellcheck/debian/changelog
@@ -1,3 +1,9 @@
+shellcheck (0.4.4-2) unstable; urgency=medium
+
+  * "Fix" FTBFS on mips{,el}: Cargo cult the ggc-min-expand stuff.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 15 Aug 2016 19:30:08 +0200
+
 shellcheck (0.4.4-1) unstable; urgency=medium
 
   [ Dmitry Bogatov ]
diff --git a/p/shellcheck/debian/rules b/p/shellcheck/debian/rules
index 822383e..6a2cc6c 100755
--- a/p/shellcheck/debian/rules
+++ b/p/shellcheck/debian/rules
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
 
 ifeq (yes,$(shell test -e /usr/bin/ghci && echo yes))
 # https://github.com/haskell/cabal/issues/2398
@@ -8,6 +9,10 @@ DEB_ENABLE_TESTS = yes
 endif
 endif
 
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
+DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10"
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list