File: rules

package info (click to toggle)
haskell-skein 1.0.9.4-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 740 kB
  • sloc: ansic: 2,721; haskell: 406; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

DEB_ENABLE_TESTS = yes

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

DEB_HOST_ARCH_ENDIAN := $(shell dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)

ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
	DEB_SETUP_GHC_CONFIGURE_ARGS := -fforce-endianness -fbig-endian
else
	DEB_SETUP_GHC_CONFIGURE_ARGS := -fforce-endianness -f-big-endian
endif