File: rules

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

export DEB_ENABLE_TESTS = yes
export 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)
	export DEB_SETUP_GHC_CONFIGURE_ARGS += -O0
endif

%:
	dh $@