File: rules

package info (click to toggle)
soapaligner 2.20-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 752 kB
  • sloc: ansic: 9,970; makefile: 179
file content (14 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DH_VERBOSE=1
export DFLAGS = -DMAKE_TIME=\""SOURCE_DATE_EPOCH"\"

export CFLAGS:=-flto $(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS:=-flto $(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=-Wl,-flto $(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@