summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-10-23 17:09:07 -0700
committerKevin Mitchell <kevmitch@gmail.com>2014-10-23 18:29:45 -0700
commit2b63bf3b4bd54108585633b1e9b64c8e4fbff363 (patch)
tree98ed6728454a61792d2cd78be145c7976e0b6c9e
parent27af640fc9a5b2cac10aab5e473f2c5b9298e4b9 (diff)
downloadmpv-build-2b63bf3b4bd54108585633b1e9b64c8e4fbff363.tar.bz2
mpv-build-2b63bf3b4bd54108585633b1e9b64c8e4fbff363.tar.xz
debian: add hardening flags
(hopefully this actually does something) closes #37
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index b21a870..3f3ed58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#! /usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS:=hardening=+all
+
# from official debian package: testing welcome!
ifeq ($(DEB_HOST_ARCH_CPU),$(filter $(DEB_HOST_ARCH_CPU),powerpc sparc))
export CC=gcc-4.8 # fixes #73363