config.mk: add -D_DEFAULT_SOURCE to commented builds - stagit-gopher - A git go… | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit f4f53c577eb86d4e65494270a9cf259b27ea22b9 | |
parent 8bf328befabb4d95fa7bf8036f6309e4cd26570d | |
Author: Hiltjo Posthuma <[email protected]> | |
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 | |
@@ -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 |