summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 4e2e2d13e3b07054c8c6abd61fd1c144ebfc5cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Produce no debug information for mipsel builds
# to avoid FTBFS due to running out of memory,
# cf. #1021665
ifneq (,$(filter $(DEB_HOST_ARCH), mipsel))
	export DEB_CXXFLAGS_MAINT_APPEND = -g0
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-static

override_dh_installchangelogs:
	dh_installchangelogs NEWS.md