summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.mk b/config.mk
index c2f947b..b8fb9b7 100644
--- a/config.mk
+++ b/config.mk
@@ -10,19 +10,18 @@ AR = ar
RANLIB = ranlib
# debug
-#CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
-# -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
+#CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic
#LDFLAGS =
# optimized
CFLAGS = -O2 -std=c99
-CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
LDFLAGS = -s
# optimized static
#CFLAGS = -static -O2 -std=c99
-CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
#LDFLAGS = -static -s
+CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
+
# OpenBSD 5.9+: use pledge(2)
#CPPFLAGS += -DUSE_PLEDGE