assume OpenBSD 5.9+, always try pledge(2) on OpenBSD

This commit is contained in:
Hiltjo Posthuma
2018-05-25 18:43:36 +02:00
parent c7f158c58c
commit 187daac420
3 changed files with 4 additions and 11 deletions

View File

@@ -27,6 +27,3 @@ LDFLAGS = -s ${LIBS}
#LDFLAGS = -static -s ${LIBS}
CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}
# OpenBSD 5.9+: use pledge(2)
#CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE -DUSE_PLEDGE ${INCS}