From 4710de84553281ea981827ba441a23b7c1360445 Mon Sep 17 00:00:00 2001 From: hans Date: Tue, 25 Aug 2015 09:09:36 +0200 Subject: [PATCH] Activate fstack-protector-all on OpenBSD --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index bcf03901..8a73b972 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -205,4 +205,8 @@ LIBS += -lpcap endif AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote. +if OPENBSD +AM_CFLAGS += -fstack-protector-all +endif + #-fsanitize=address