File: rules

package info (click to toggle)
libtorrent 0.13.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,956 kB
  • sloc: cpp: 32,196; makefile: 520; xml: 163; ansic: 153; sh: 45
file content (31 lines) | stat: -rwxr-xr-x 744 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

CONFOPTS = --enable-ipv6
# Disable instrumentation on following archs due to use of
# __sync_fetch_and_and_8 with instrumentation.
# See https://github.com/rakshasa/rtorrent/issues/156
ifeq ($(DEB_HOST_ARCH), mips)
CONFOPTS += --disable-instrumentation
override_dh_auto_test:
endif
ifeq ($(DEB_HOST_ARCH), mipsel)
CONFOPTS += --disable-instrumentation
override_dh_auto_test:
endif
ifeq ($(DEB_HOST_ARCH), powerpc)
CONFOPTS += --disable-instrumentation
override_dh_auto_test:
endif
ifeq ($(DEB_HOST_ARCH), sparc)
CONFOPTS += --disable-instrumentation
override_dh_auto_test:
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFOPTS)

override_dh_installchangelogs:
	dh_installchangelogs debian/ChangeLog