File: rules

package info (click to toggle)
libsbsms 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,984 kB
  • sloc: cpp: 17,322; sh: 10,572; makefile: 55; ansic: 31
file content (15 lines) | stat: -rwxr-xr-x 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)

ifneq ($(DEB_HOST_ARCH_CPU),amd64)
additional_confflags := --disable-sse
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-shared $(additional_confflags)