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

14 lines
353 B
Diff
Raw Normal View History

2020-03-18 14:05:00 +08:00
diff --git a/Makefile.am b/Makefile.am
index cb8076433..9807d6345 100644
2020-03-18 14:05:00 +08:00
--- 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)