File: rules

package info (click to toggle)
poco 1.14.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 56,460 kB
  • sloc: cpp: 340,542; ansic: 245,601; makefile: 1,742; yacc: 1,005; sh: 698; sql: 312; lex: 282; xml: 128; perl: 29; python: 24
file content (16 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (2)
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