git-query

git data extraction tool using c and libgit2

git clone https://9o.is/git/git-query.git

commit 48abdaeb33e28641aa11ca431d586f883800b376
parent 4f4e72ce4c2fe72425161dd9c69e56131d839e36
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  2 Jul 2016 12:44:34 +0200

config.mk: remove -lc

Thanks quinq!

POSIX/quinq says:

"In the absence of options that inhibit invocation of the link editor, such as
-c or -E, the c99 utility shall cause the equivalent of a -l c option to be
passed to the link editor after the last pathname operand or -l option, causing
it to be searched after all other object files and libraries are loaded."

Diffstat:
Mconfig.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -12,7 +12,7 @@ GITLIB = /usr/local/lib # includes and libs INCS = -I${GITINC} -LIBS = -L${GITLIB} -lgit2 -lc +LIBS = -L${GITLIB} -lgit2 # debug #CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic ${INCS}