File: rules

package info (click to toggle)
tokyocabinet 1.4.48-15.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,592 kB
  • sloc: ansic: 58,929; makefile: 786; cpp: 601; perl: 410; ruby: 264; awk: 95; sh: 92
file content (14 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_CFLAGS_MAINT_APPEND = -fno-expensive-optimizations

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	    $(if $(findstring $(DEB_BUILD_ARCH),s390 s390x),--disable-pthread) \
	    --enable-devel --enable-off64 --enable-swab --enable-uyield \
	    --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)