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