[DHG_packages] 01/01: haskell-src-exts: pass -mxgot to gcc on mips64el

Clint Adams clint at moszumanska.debian.org
Sat Oct 1 23:53:55 UTC 2016


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

clint pushed a commit to branch master
in repository DHG_packages.

commit 87df58f453790c780a373e7f8bf6658c2f181206
Author: Clint Adams <clint at debian.org>
Date:   Sat Oct 1 19:52:15 2016 -0400

    haskell-src-exts: pass -mxgot to gcc on mips64el
---
 p/haskell-src-exts/debian/changelog | 9 +++++++--
 p/haskell-src-exts/debian/rules     | 8 ++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/p/haskell-src-exts/debian/changelog b/p/haskell-src-exts/debian/changelog
index 97728da..658aae1 100644
--- a/p/haskell-src-exts/debian/changelog
+++ b/p/haskell-src-exts/debian/changelog
@@ -1,10 +1,15 @@
-haskell-src-exts (1.17.1-2) UNRELEASED; urgency=medium
+haskell-src-exts (1.17.1-2) unstable; urgency=medium
 
+  [ Dmitry Bogatov ]
   * Use secure (https) uri in Vcs-Git field in 'debian/control'
   * Bump standards version to 3.9.8 (no changes needed)
   * Convert `debian/copyright' to dep5 format
 
- -- Dmitry Bogatov <KAction at gnu.org>  Tue, 10 May 2016 09:36:13 +0300
+  [ Clint Adams ]
+  * Pass -mxgot to gcc on mips64el, thanks to Florian Weimer.
+    closes: #832824.
+
+ -- Clint Adams <clint at debian.org>  Sat, 01 Oct 2016 19:49:24 -0400
 
 haskell-src-exts (1.17.1-1) unstable; urgency=medium
 
diff --git a/p/haskell-src-exts/debian/rules b/p/haskell-src-exts/debian/rules
index 147385f..57e28e0 100755
--- a/p/haskell-src-exts/debian/rules
+++ b/p/haskell-src-exts/debian/rules
@@ -3,7 +3,7 @@
 DEB_CABAL_PACKAGE=src-exts
 DEB_BUILD_DEPENDENCIES = build-arch
 
-DEB_SETUP_GHC6_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS"
+DEB_SETUP_GHC_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS"
 
 # haskell-src-exts needs a lot of memory during compilation.
 # Unfortunately, this amount of memory is not available on all platforms,
@@ -18,7 +18,11 @@ DEB_SETUP_GHC6_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS"
 #  -- Dejan Latinovic <Dejan.Latinovic at imgtec.com>
 DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
-       DEB_SETUP_GHC6_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10"
+       DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10"
+endif
+
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el))
+       DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-mxgot"
 endif
 
 include /usr/share/cdbs/1/rules/debhelper.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