config.mk: add -D_DEFAULT_SOURCE to commented builds - stagit-gopher - A git gopher frontend. (mirror) (HTM) git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- (DIR) commit f4f53c577eb86d4e65494270a9cf259b27ea22b9 (DIR) parent 8bf328befabb4d95fa7bf8036f6309e4cd26570d (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> 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(-) --- (DIR) 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