d/rules: Enable build hardening
Christian Göttsche authored 3 years ago
Laurent Bigonville committed 3 years ago
2 | 2 |
#
|
3 | 3 |
# Uncomment this to turn on verbose mode.
|
4 | 4 |
#export DH_VERBOSE=1
|
|
5 |
|
|
6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
5 | 7 |
|
6 | 8 |
# The build system doesn't use CPPFLAGS, pass them to CFLAGS to enable the
|
7 | 9 |
# missing (hardening) flags. Also enable Wall and Wextra to spot basic irregularities.
|