Commit 24599335 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

juicypixels: Compile with --ghc-options="-O0"

parent dc908bc2
haskell-juicypixels (3.2.9.5-4) unstable; urgency=medium
* Compile with --ghc-options="-O0" on unregisterised 64-bit arches
to work-around a GHC bug.
-- Ilias Tsitsimpis <iliastsi@debian.org> Wed, 07 Nov 2018 11:36:59 +0200
haskell-juicypixels (3.2.9.5-3) unstable; urgency=medium
* Remove build dependency on libghc-mtl-dev (provided by ghc-8.4.3)
......
......@@ -2,5 +2,12 @@
# DEB_ENABLE_TESTS = yes
# Work-around a bug in GHC where it fails to compile juicypixels
# on 64-bit unregisterised arches.
# https://ghc.haskell.org/trac/ghc/ticket/15853
ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el s390x alpha ia64 riscv64 sparc64))
DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0"
endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment