File: rules

package info (click to toggle)
pcc-libs 1.2.0~DEVEL+20180604-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,380 kB
  • sloc: ansic: 16,473; sh: 3,039; makefile: 253; asm: 20
file content (15 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed


%:
	dh $@

override_dh_auto_configure:
	CC=pcc dh_auto_configure -- --libdir=\$${prefix}/lib target_alias=${DEB_TARGET_MULTIARCH}