File: rules

package info (click to toggle)
rkcommon 1.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 2,276 kB
  • sloc: cpp: 33,504; sh: 31; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

#DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Upstream supports SIMD on amd64 and arm64 only.
NO_SIMD=ON
ifeq ($(DEB_BUILD_ARCH), amd64)
NO_SIMD=OFF
else ifeq ($(DEB_BUILD_ARCH), arm64)
NO_SIMD=OFF
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DBUILD_TESTING=ON \
		-DRKCOMMON_NO_SIMD=$(NO_SIMD)