Activate fstack-protector-all on OpenBSD
This commit is contained in:
parent
c9515a79de
commit
4710de8455
1 changed files with 4 additions and 0 deletions
|
@ -205,4 +205,8 @@ LIBS += -lpcap
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote.
|
AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote.
|
||||||
|
if OPENBSD
|
||||||
|
AM_CFLAGS += -fstack-protector-all
|
||||||
|
endif
|
||||||
|
|
||||||
#-fsanitize=address
|
#-fsanitize=address
|
||||||
|
|
Loading…
Reference in a new issue