File: rules

package info (click to toggle)
rocr-runtime 6.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,528 kB
  • sloc: cpp: 81,527; ansic: 4,499; asm: 601; lisp: 599; sh: 123; python: 23; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 323 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 (amd64,$(DEB_HOST_ARCH))
CMAKE_EXTRA_FLAGS:=-DIMAGE_SUPPORT=OFF
else
CMAKE_EXTRA_FLAGS:=
endif

CMAKE_EXTRA_FLAGS += \
 -DINCLUDE_PATH_COMPATIBILITY=OFF

%:
	dh $@ -Dsrc -Scmake

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)