]> git.armaanb.net Git - stagit.git/commitdiff
No need for -D_POSIX_C_SOURCE=200809L
authorsin <sin@2f30.org>
Wed, 6 Jan 2016 17:18:58 +0000 (17:18 +0000)
committersin <sin@2f30.org>
Wed, 6 Jan 2016 17:19:48 +0000 (17:19 +0000)
XOPEN is a superset.

config.mk

index d918949bc5be26484a3b0cfd0245d9c05ae67546..52ec91c3d6e39e18baa393e5f012d8b201506a4c 100644 (file)
--- 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