Commit 2ad50b66 authored by Clint Adams's avatar Clint Adams
Browse files

haskell-src-exts: build with -O0 on mips and mipsel

parent db161f48
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-src-exts (1.20.2-2) unstable; urgency=medium

  * Build with -O0 on mips and mipsel.

 -- Clint Adams <clint@debian.org>  Sun, 29 Apr 2018 18:54:16 -0400

haskell-src-exts (1.20.2-1) unstable; urgency=medium

  [ Ilias Tsitsimpis ]
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ DEB_SETUP_GHC_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS"
DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)

ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
       DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10"
       DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0 -optc--param -optcggc-min-expand=10"
endif

ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el))