File: rules

package info (click to toggle)
poco 1.9.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 70,628 kB
  • sloc: cpp: 263,057; ansic: 178,536; makefile: 1,277; sh: 492; xml: 65; perl: 29
file content (16 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CONFFLAGS = -DENABLE_TESTS=ON -DPOCO_UNBUNDLED=ON

# Disable fpenvironment on armel (fixes #843225)
ifneq (,$(filter $(DEB_BUILD_ARCH),armel))
       CPPFLAGS+=-DPOCO_NO_FPENVIRONMENT
endif

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- $(CONFFLAGS)