summaryrefslogtreecommitdiff
path: root/p/haskell-src-exts/debian/rules
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2016-10-12 18:53:42 -0400
committerClint Adams <clint@debian.org>2016-10-12 18:53:42 -0400
commit160c84c1046cc804e786663ae34b12a0b108e567 (patch)
treebf2ddb453cd2eb41edb735828a34ac87c04d72af /p/haskell-src-exts/debian/rules
parente7d091a0222b0dbc897436def874f092d4874f47 (diff)
parent82ce455936337280b4fddaf8fbc7bed0d015167d (diff)
downloadDHG_packages-160c84c1046cc804e786663ae34b12a0b108e567.tar.gz
Merge branch 'master' into experimental
what a mess
Diffstat (limited to 'p/haskell-src-exts/debian/rules')
-rwxr-xr-xp/haskell-src-exts/debian/rules8
1 files changed, 6 insertions, 2 deletions
diff --git a/p/haskell-src-exts/debian/rules b/p/haskell-src-exts/debian/rules
index 147385f97..57e28e0fc 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@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