From a922b260abf44a15715100ceb420d11b837cf00f Mon Sep 17 00:00:00 2001 From: Paride Legovini Date: Fri, 28 Jul 2017 10:45:56 +0200 Subject: Add options for dpkg-buildflags in d/rules --- debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 098338c..3ffcf82 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f -export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# https://wiki.debian.org/HardeningWalkthrough +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -Os -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ -- cgit v1.2.3