Enable hardening flags

This commit is contained in:
alan (NyxTrail) 2024-03-09 05:45:48 +00:00
parent a7f09e3026
commit b0cdd7eea8
No known key found for this signature in database
GPG Key ID: 32C5D29762C48D4A
1 changed files with 4 additions and 4 deletions

8
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 DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
%:
dh $@