File: rules

package info (click to toggle)
haskell-hackage-security 0.6.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 520 kB
  • sloc: haskell: 5,987; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

DEB_ENABLE_TESTS = yes
DEB_CABAL_PACKAGE = hackage-security
DEB_DEFAULT_COMPILER = ghc
DEB_SETUP_GHC_CONFIGURE_ARGS := --flags="-lukko +use-network-uri +Cabal-syntax"

# Disable optimizations on 32bit systems, tests fail otherwise
# This looks like a GHC 9.4 bug
ifeq ($(DEB_HOST_ARCH_BITS), 32)
	DEB_SETUP_GHC_CONFIGURE_ARGS += -O0
endif

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk