Set hardening=+all in DEB_BUILD_MAINT_OPTIONS
Didier Raboud
7 years ago
1 | 1 |
|
2 | 2 |
# Uncomment this to turn on verbose mode.
|
3 | 3 |
#export DH_VERBOSE=1
|
|
4 |
|
|
5 |
# Harden
|
|
6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
4 | 7 |
|
5 | 8 |
derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no")
|
6 | 9 |
|