Commit e0e0ecbd authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

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

parent 24599335
haskell-gloss (1.13.0.1-2) 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 12:04:10 +0200
haskell-gloss (1.13.0.1-1) unstable; urgency=medium haskell-gloss (1.13.0.1-1) unstable; urgency=medium
* Bump debhelper compat level to 10 * Bump debhelper compat level to 10
......
#!/usr/bin/make -f #!/usr/bin/make -f
# Work-around a bug in GHC where it fails to compile gloss
# 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/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.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