Export all hardening options in .deb packages

Change-Id: I0448e564305ce78dee4ec364007e0162c6f74c09
Reviewed-on: https://code.wireshark.org/review/10644
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
This commit is contained in:
Balint Reczey 2015-09-25 09:53:25 +02:00
parent 4eacb720de
commit 86f22c2161
1 changed files with 2 additions and 0 deletions

2
debian/rules vendored
View File

@ -10,6 +10,8 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p')
export docdir = /usr/share/doc/wireshark-doc