From f4f53c577eb86d4e65494270a9cf259b27ea22b9 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 24 Feb 2016 14:41:37 +0100 Subject: [PATCH] config.mk: add -D_DEFAULT_SOURCE to commented builds --- config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.mk b/config.mk index 27835fa..2c04b35 100644 --- 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 -- libgit2 1.1.1