File: rules

package info (click to toggle)
poco 1.13.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 50,420 kB
  • sloc: cpp: 322,076; ansic: 219,667; makefile: 1,571; sh: 570; xml: 128; perl: 29
file content (16 lines) | stat: -rwxr-xr-x 367 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

ifneq (,$(filter $(DEB_BUILD_ARCH),mipsel m68k))
	CXXFLAGS+=-g1
endif
ifeq (armel,$(DEB_HOST_ARCH))
	export DEB_LDFLAGS_MAINT_APPEND= -latomic
endif

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_TESTS=ON -DPOCO_UNBUNDLED=ON -DPOCO_DATA_NO_SQL_PARSER=ON