File: rules

package info (click to toggle)
bart 0.4.04-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,956 kB
  • sloc: ansic: 53,230; python: 638; cpp: 506; sh: 346; makefile: 325
file content (18 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)

# Some tests fail on the following architectures probably
# due to minor differences in floating point processing.
# For now, just turn it off...
NOTEST_ARCHS=armel armhf i386 mips mips64el mipsel hurd-i386 kfreebsd-i386 m68k powerpcspe sh4

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter $(NOTEST_ARCHS), $(DEB_BUILD_ARCH)))
	make utest
endif