tconfig.mk: add -D_DEFAULT_SOURCE to commented builds - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit f4f53c577eb86d4e65494270a9cf259b27ea22b9
parent 8bf328befabb4d95fa7bf8036f6309e4cd26570d
Author: Hiltjo Posthuma 
Date:   Wed, 24 Feb 2016 14:41:37 +0100

config.mk: add -D_DEFAULT_SOURCE to commented builds

Diffstat:
  M config.mk                           |       4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/config.mk b/config.mk
t@@ -18,12 +18,12 @@ LDFLAGS = ${LIBS}
 
 # optimized
 #CFLAGS = -O2 -std=c99 \
-#        -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
+#        -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}
 #LDFLAGS = -s ${LIBS}
 
 # optimized static
 #CFLAGS = -static -O2 -std=c99 \
-#        -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
+#        -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}
 #LDFLAGS = -static -s ${LIBS}
 
 # compiler and linker