File: rules

package info (click to toggle)
belle-sip 1.6.3-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,980 kB
  • sloc: ansic: 34,534; cs: 418; cpp: 353; makefile: 186; xml: 47; sh: 41; python: 41; objc: 38; ruby: 8
file content (26 lines) | stat: -rwxr-xr-x 783 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# FIXME Downgrade new errors from GCC-8
export DEB_CFLAGS_MAINT_APPEND = -Wno-error=format-truncation -Wno-error=cast-function-type

# On some arches (mips64el, s390x, alpha) antlr3 is extremely slow
# and throws a heap space OutOfMemory exception. Workaround by increasing
# heap space
export _JAVA_OPTIONS = -Xms512m -Xmx1024m

%:
	dh $@ --buildsystem=cmake --no-parallel

# Upstream unconditionally sets CMAKE_INSTALL_RPATH. Make it ineffective by
# setting CMAKE_SKIP_RPATH
override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_SKIP_RPATH=ON

override_dh_strip:
	dh_strip --dbgsym-migration='libbellesip-dbg (<< 1.6.3-1~)'