summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-03-10 18:52:23 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-03-10 18:52:23 +0100
commit9a74fe65fee19f5b8d71c6c379ca028ad0e356a4 (patch)
treecc420c0b58eafc7db45b46b74211fea7a8c7ff22
parent13ad5b934a7d7f6c075ed3e9375b7493a73cd433 (diff)
Makefile: define CPPFLAGS once, fix typo
-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