stop glibc complaining about _BSD_SOURCE being deprecated

This commit is contained in:
Quentin Rameau 2016-01-10 00:47:45 +01:00 committed by Hiltjo Posthuma
parent 79fab7c6fa
commit d8bad43b3c

View file

@ -13,7 +13,7 @@ LIBS = -L${GITLIB} -lgit2 -lc
# debug
CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
-D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
-D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}
LDFLAGS = ${LIBS}
# optimized