diff options
Diffstat (limited to 'p/haskell-src-exts/debian/rules')
| -rwxr-xr-x | p/haskell-src-exts/debian/rules | 8 |
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 |
