enable hardening
This commit is contained in:
parent
cdc3da1486
commit
3582a42ff9
2
debian/control
vendored
2
debian/control
vendored
|
@ -2,7 +2,7 @@ Source: dns-flood-detector
|
|||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Jan Wagner <waja@cyconet.org>
|
||||
Build-Depends: debhelper (>= 9), libpcap0.8-dev
|
||||
Build-Depends: debhelper (>= 9), libpcap0.8-dev, hardening-wrapper
|
||||
Homepage: http://www.adotout.com/
|
||||
Vcs-Browser: https://scm.uncompleted.org/projects/debian/repository/show/dns-flood-detector
|
||||
Vcs-Svn: https://scm.uncompleted.org/svn/debian/dns-flood-detector/trunk
|
||||
|
|
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -4,6 +4,10 @@
|
|||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# hardening
|
||||
export DEB_BUILD_HARDENING=1
|
||||
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
|
||||
|
||||
CFLAGS += -D_BSD_SOURCE -Wall -g
|
||||
LDLIBS += -lpcap -lpthread -lm
|
||||
|
||||
|
|
Loading…
Reference in a new issue