summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 3c1e5d2..7479a97 100644
--- a/config.mk
+++ b/config.mk
@@ -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