mirror of
https://salsa.debian.org/debian/knockd
synced 2025-12-23 13:05:13 +00:00
add hardening flags
This commit is contained in:
5
debian/rules
vendored
5
debian/rules
vendored
@@ -1,5 +1,10 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,--no-undefined,--no-add-needed
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
%:
|
||||
dh $@ --with autotools-dev --with systemd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user