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."
1 files changed, 1 insertions(+), 1 deletions(-) | |||
---|---|---|---|
M | config.mk | +1 | -1 |
1@@ -12,7 +12,7 @@ GITLIB = /usr/local/lib
2
3 # includes and libs
4 INCS = -I${GITINC}
5-LIBS = -L${GITLIB} -lgit2 -lc
6+LIBS = -L${GITLIB} -lgit2
7
8 # debug
9 #CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic ${INCS}