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 <[email protected]>
---
 debian/rules |    1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index d34bdb3..1ee7048 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,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
 
-- 
1.7.10.4

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to