File: rules

package info (click to toggle)
datefudge 1.22
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 72 kB
  • sloc: ansic: 75; makefile: 65; sh: 61
file content (16 lines) | stat: -rwxr-xr-x 307 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

include /usr/share/dpkg/architecture.mk

ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
  export CC := $(DEB_HOST_GNU_TYPE)-gcc
else
  export CC := gcc
endif

export libarch := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@