diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-05-03 00:33:56 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-05-03 00:33:56 +0200 |
commit | aa36e0c9b4d8da06c5dc03a461f9d3fe69a1e7fb (patch) | |
tree | 5f0c8af726df1cbd425e4d33c77aa9410328196a /config.mk | |
parent | eae9437f944f04619cbda9ce7eb460f6ff0d7f4c (diff) |
add OpenBSD pledge(2) support using -DUSE_PLEDGE
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -4,6 +4,9 @@ PREFIX = /usr/local MANPREFIX = ${PREFIX}/man +# compiler and linker +#CC = cc + GITINC = /usr/local/include GITLIB = /usr/local/lib @@ -23,6 +26,7 @@ LDFLAGS = -s ${LIBS} #CFLAGS = -static -O2 -std=c99 ${INCS} #LDFLAGS = -static -s ${LIBS} -CPPFLAGS= -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS} -# compiler and linker -#CC = cc +CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS} + +# OpenBSD 5.9+: use pledge(2) +#CPPFLAGS += -DUSE_PLEDGE |