summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-07-02 12:44:34 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-07-02 12:44:34 +0200
commit12069466ff230ca3b1dafe77c0fb98b8f1d9c658 (patch)
tree4de1a786966d05be88e6a286c5131946253665d1 /config.mk
parent30116a4ef2c1d90a3662b2878e54f3da2fc56894 (diff)
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 (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 7479a97..c50af69 100644
--- 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}