openvswitch/0000-openvswitch-add-stack-protector-strong.patch

14 lines
353 B
Diff

diff --git a/Makefile.am b/Makefile.am
index cb8076433..9807d6345 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,7 +30,7 @@ AM_CPPFLAGS += -I $(top_builddir)/lib
AM_CPPFLAGS += $(SSL_INCLUDES)
-AM_CFLAGS = -Wstrict-prototypes
+AM_CFLAGS = -Wstrict-prototypes -fstack-protector-strong
AM_CFLAGS += $(WARNING_FLAGS)
AM_CFLAGS += $(OVS_CFLAGS)