mirror of
git://git.codemadness.org/stagit
synced 2025-03-08 15:49:10 -05:00
Makefile: add workaround for distros still using older libgit2 versions
Noticed on Void Linux, Debian, etc.
This commit is contained in:
parent
2890451154
commit
174ea5d6fe
4
Makefile
4
Makefile
@ -16,6 +16,10 @@ STAGIT_CFLAGS = ${LIBGIT_INC} ${CFLAGS}
|
||||
STAGIT_LDFLAGS = ${LIBGIT_LIB} ${LDFLAGS}
|
||||
STAGIT_CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE
|
||||
|
||||
# Uncomment to enable workaround for older libgit2 which don't support this
|
||||
# option. This workaround will be removed in the future *pinky promise*.
|
||||
#STAGIT_CFLAGS += -DGIT_OPT_SET_OWNER_VALIDATION=-1
|
||||
|
||||
SRC = \
|
||||
stagit.c\
|
||||
stagit-index.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user