Enable all hardening options
Stephen Kitt authored 3 years ago
Stephen Kitt committed 3 years ago
5 | 5 |
* Drop unnecessary buildtools.mk inclusion.
|
6 | 6 |
* Wrap and sort the control files.
|
7 | 7 |
* Set “Rules-Requires-Root: no”.
|
|
8 |
* Enable all hardening options.
|
8 | 9 |
|
9 | 10 |
-- Stephen Kitt <skitt@debian.org> Sat, 25 Jul 2020 12:59:39 +0200
|
10 | 11 |
|
2 | 2 |
# Uncomment this to turn on verbose mode.
|
3 | 3 |
#export DH_VERBOSE=1
|
4 | 4 |
|
|
5 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
6 |
|
|
7 |
include /usr/share/dpkg/buildflags.mk
|
|
8 |
|
5 | 9 |
%:
|
6 | 10 |
dh $@
|
7 | 11 |
|
|
12 |
override_dh_auto_build:
|
|
13 |
dh_auto_build -- CFLAGS="$(CPPFLAGS) $(CFLAGS)"
|
|
14 |
|
8 | 15 |
override_dh_auto_install:
|
9 | 16 |
$(MAKE) PREFIX=$$(pwd)/debian/frotz/usr install
|