File: rules

package info (click to toggle)
gdbuspp 3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,164 kB
  • sloc: cpp: 9,462; python: 477; sh: 215; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=free-nonheap-object

DEB_BUILD_OPTIONS+=nocheck

%:
	dh $@

# do not run tests on 32-bit architectures
ifneq (,$(filter $(DEB_HOST_ARCH),armhf i386 hppa hurd-i386 m68k powerpc sh4 x32))
override_dh_auto_configure:
	dh_auto_configure -- \
    -Denable_tests=false
endif