Enable hardened rules

This commit is contained in:
alan 2024-02-01 07:51:33 +00:00
parent 2ef8fd997f
commit d8bcca3f9e
1 changed files with 3 additions and 3 deletions

6
debian/rules vendored
View File

@ -1,9 +1,9 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
%:
dh $@ --with autoreconf