Commit 3582a42f authored by waja's avatar waja
Browse files

enable hardening

parent cdc3da14
......@@ -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,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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment