From: Ben Pfaff Date: Mon, 12 Aug 2013 22:10:39 +0000 (-0700) Subject: debian: Apply hardening options to build. X-Git-Tag: v1.9.3~9 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=9d3160286474c32fda9f7ac5aabe359be9777840;hp=17159379b8fe271c6ed567244a3b3999848ec0c0;p=cascardo%2Fovs.git debian: Apply hardening options to build. Debian now encourages building every program with various GCC hardening options. This commit implements that recommendation for Open vSwitch. See https://wiki.debian.org/Hardening for details. Found by lintian. Signed-off-by: Ben Pfaff --- diff --git a/debian/rules b/debian/rules index 51a2e51e0..608f127a4 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,7 @@ configure-stamp: test -e Makefile || \ ../configure --prefix=/usr --localstatedir=/var --enable-ssl \ --sysconfdir=/etc CFLAGS="$(CFLAGS)" \ + $(shell dpkg-buildflags --export=configure) \ $(DATAPATH_CONFIGURE_OPTS)) touch configure-stamp