summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2016-01-06 17:18:58 +0000
committersin <sin@2f30.org>2016-01-06 17:19:48 +0000
commitcae9950407009652d52a2c140d136d3f14b4095c (patch)
tree8ca3c5938bb57e56aa65819c00b2ab17c2792ef6 /config.mk
parentbd854ac71fe7045b74accc57b5e1933b411033be (diff)
No need for -D_POSIX_C_SOURCE=200809L
XOPEN is a superset.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index d918949..52ec91c 100644
--- a/config.mk
+++ b/config.mk
@@ -13,17 +13,17 @@ LIBS = -L${GITLIB} -lgit2 -lc
# debug
CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
- -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
+ -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
LDFLAGS = ${LIBS}
# optimized
#CFLAGS = -O2 -std=c99 \
-# -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
+# -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
#LDFLAGS = -s ${LIBS}
# optimized static
#CFLAGS = -static -O2 -std=c99 \
-# -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
+# -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
#LDFLAGS = -static -s ${LIBS}
# compiler and linker