File: rules

package info (click to toggle)
haskell-gloss 1.13.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324 kB
  • sloc: haskell: 2,872; makefile: 5
file content (11 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/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/class/hlibrary.mk